Class IdentityProfile

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.IdentityProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<IdentityProfile>
Direct Known Subclasses:
AksClusterProfileAksClusterAgentPoolIdentityProfile

public class IdentityProfile extends Object implements com.azure.json.JsonSerializable<IdentityProfile>
Identity Profile with details of an MSI.
  • Constructor Details

    • IdentityProfile

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

    • msiResourceId

      public String msiResourceId()
      Get the msiResourceId property: ResourceId of the MSI.
      Returns:
      the msiResourceId value.
    • withMsiResourceId

      public IdentityProfile withMsiResourceId(String msiResourceId)
      Set the msiResourceId property: ResourceId of the MSI.
      Parameters:
      msiResourceId - the msiResourceId value to set.
      Returns:
      the IdentityProfile object itself.
    • msiClientId

      public String msiClientId()
      Get the msiClientId property: ClientId of the MSI.
      Returns:
      the msiClientId value.
    • withMsiClientId

      public IdentityProfile withMsiClientId(String msiClientId)
      Set the msiClientId property: ClientId of the MSI.
      Parameters:
      msiClientId - the msiClientId value to set.
      Returns:
      the IdentityProfile object itself.
    • msiObjectId

      public String msiObjectId()
      Get the msiObjectId property: ObjectId of the MSI.
      Returns:
      the msiObjectId value.
    • withMsiObjectId

      public IdentityProfile withMsiObjectId(String msiObjectId)
      Set the msiObjectId property: ObjectId of the MSI.
      Parameters:
      msiObjectId - the msiObjectId value to set.
      Returns:
      the IdentityProfile object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<IdentityProfile>
      Throws:
      IOException
    • fromJson

      public static IdentityProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IdentityProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IdentityProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the IdentityProfile.