Class Identity
java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.Identity
Identity for the resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the identityIds property: The list of identities.type()Get the type property: The identity type.voidvalidate()Validates the instance.withIdentityIds(List<String> identityIds) Set the identityIds property: The list of identities.Set the type property: The identity type.
-
Constructor Details
-
Identity
public Identity()Creates an instance of Identity class.
-
-
Method Details
-
type
Get the type property: The identity type.- Returns:
- the type value.
-
withType
Set the type property: The identity type.- Parameters:
type- the type value to set.- Returns:
- the Identity object itself.
-
identityIds
Get the identityIds property: The list of identities.- Returns:
- the identityIds value.
-
withIdentityIds
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.
-