java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.Identity

public class Identity extends Object
Identity for the resource.
  • Constructor Details

    • Identity

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

    • type

      public String type()
      Get the type property: The identity type.
      Returns:
      the type value.
    • withType

      public Identity withType(String type)
      Set the type property: The identity type.
      Parameters:
      type - the type value to set.
      Returns:
      the Identity object itself.
    • identityIds

      public List<String> identityIds()
      Get the identityIds property: The list of identities.
      Returns:
      the identityIds value.
    • withIdentityIds

      public Identity withIdentityIds(List<String> identityIds)
      Set the identityIds property: The list of identities.
      Parameters:
      identityIds - the identityIds value to set.
      Returns:
      the Identity object itself.
    • validate

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