Class ApplicationUserAssignedIdentity

java.lang.Object
com.azure.resourcemanager.servicefabric.models.ApplicationUserAssignedIdentity

public class ApplicationUserAssignedIdentity extends Object
The ApplicationUserAssignedIdentity model.
  • Constructor Details

    • ApplicationUserAssignedIdentity

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

    • name

      public String name()
      Get the name property: The friendly name of user assigned identity.
      Returns:
      the name value.
    • withName

      public ApplicationUserAssignedIdentity withName(String name)
      Set the name property: The friendly name of user assigned identity.
      Parameters:
      name - the name value to set.
      Returns:
      the ApplicationUserAssignedIdentity object itself.
    • principalId

      public String principalId()
      Get the principalId property: The principal id of user assigned identity.
      Returns:
      the principalId value.
    • withPrincipalId

      public ApplicationUserAssignedIdentity withPrincipalId(String principalId)
      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.