Class ApplicationUserAssignedIdentity
java.lang.Object
com.azure.resourcemanager.servicefabric.models.ApplicationUserAssignedIdentity
The ApplicationUserAssignedIdentity model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApplicationUserAssignedIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The friendly name of user assigned identity.Get the principalId property: The principal id of user assigned identity.void
validate()
Validates the instance.Set the name property: The friendly name of user assigned identity.withPrincipalId
(String principalId) Set the principalId property: The principal id of user assigned identity.
-
Constructor Details
-
ApplicationUserAssignedIdentity
public ApplicationUserAssignedIdentity()Creates an instance of ApplicationUserAssignedIdentity class.
-
-
Method Details
-
name
Get the name property: The friendly name of user assigned identity.- Returns:
- the name value.
-
withName
Set the name property: The friendly name of user assigned identity.- Parameters:
name
- the name value to set.- Returns:
- the ApplicationUserAssignedIdentity object itself.
-
principalId
Get the principalId property: The principal id of user assigned identity.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: The principal id of user assigned identity.- Parameters:
principalId
- the principalId value to set.- Returns:
- the ApplicationUserAssignedIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-