Class UserAssignedIdentity

java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.UserAssignedIdentity

public class UserAssignedIdentity extends Object
Information describing the identities associated with this application.
  • Constructor Details

    • UserAssignedIdentity

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

    • userAssignedIdentities

      public Map<String,UserIdentity> userAssignedIdentities()
      Get the userAssignedIdentities property: represents user assigned identities map.
      Returns:
      the userAssignedIdentities value.
    • withUserAssignedIdentities

      public UserAssignedIdentity withUserAssignedIdentities(Map<String,UserIdentity> userAssignedIdentities)
      Set the userAssignedIdentities property: represents user assigned identities map.
      Parameters:
      userAssignedIdentities - the userAssignedIdentities value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • type

      public IdentityType type()
      Get the type property: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'.
      Returns:
      the type value.
    • withType

      public UserAssignedIdentity withType(IdentityType type)
      Set the type property: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'.
      Parameters:
      type - the type value to set.
      Returns:
      the UserAssignedIdentity object itself.
    • validate

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