Class UserAssignedIdentity

java.lang.Object
com.azure.resourcemanager.containerservice.models.UserAssignedIdentity
Direct Known Subclasses:
ManagedClusterAddonProfileIdentity

public class UserAssignedIdentity extends Object
Details about a user assigned identity.
  • Constructor Details

    • UserAssignedIdentity

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

    • resourceId

      public String resourceId()
      Get the resourceId property: The resource ID of the user assigned identity.
      Returns:
      the resourceId value.
    • withResourceId

      public UserAssignedIdentity withResourceId(String resourceId)
      Set the resourceId property: The resource ID of the user assigned identity.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • clientId

      public String clientId()
      Get the clientId property: The client ID of the user assigned identity.
      Returns:
      the clientId value.
    • withClientId

      public UserAssignedIdentity withClientId(String clientId)
      Set the clientId property: The client ID of the user assigned identity.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • objectId

      public String objectId()
      Get the objectId property: The object ID of the user assigned identity.
      Returns:
      the objectId value.
    • withObjectId

      public UserAssignedIdentity withObjectId(String objectId)
      Set the objectId property: The object ID of the user assigned identity.
      Parameters:
      objectId - the objectId value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • validate

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