Class UserAssignedIdentity
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.UserAssignedIdentity
Information describing the identities associated with this application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontype()
Get the type property: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'.Get the userAssignedIdentities property: represents user assigned identities map.void
validate()
Validates the instance.withType
(IdentityType type) Set the type property: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'.withUserAssignedIdentities
(Map<String, UserIdentity> userAssignedIdentities) Set the userAssignedIdentities property: represents user assigned identities map.
-
Constructor Details
-
UserAssignedIdentity
public UserAssignedIdentity()Creates an instance of UserAssignedIdentity class.
-
-
Method Details
-
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
Get the type property: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'.- Returns:
- the type value.
-
withType
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.
-