Class IdentityProperties

java.lang.Object
com.azure.resourcemanager.elastic.models.IdentityProperties

public final class IdentityProperties extends Object
Identity properties.
  • Constructor Details

    • IdentityProperties

      public IdentityProperties()
      Creates an instance of IdentityProperties class.
  • Method Details

    • principalId

      public String principalId()
      Get the principalId property: The identity ID.
      Returns:
      the principalId value.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenant ID of resource.
      Returns:
      the tenantId value.
    • type

      public ManagedIdentityTypes type()
      Get the type property: Managed identity type.
      Returns:
      the type value.
    • withType

      public IdentityProperties withType(ManagedIdentityTypes type)
      Set the type property: Managed identity type.
      Parameters:
      type - the type value to set.
      Returns:
      the IdentityProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.