Class MediaServiceIdentity
java.lang.Object
com.azure.resourcemanager.mediaservices.models.MediaServiceIdentity
The MediaServiceIdentity model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The Principal ID of the identity.tenantId()
Get the tenantId property: The Tenant ID of the identity.type()
Get the type property: The identity type.Get the userAssignedIdentities property: The user assigned managed identities.void
validate()
Validates the instance.Set the type property: The identity type.withUserAssignedIdentities
(Map<String, UserAssignedManagedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: The user assigned managed identities.
-
Constructor Details
-
MediaServiceIdentity
public MediaServiceIdentity()Creates an instance of MediaServiceIdentity 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 MediaServiceIdentity object itself.
-
principalId
Get the principalId property: The Principal ID of the identity.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: The Tenant ID of the identity.- Returns:
- the tenantId value.
-
userAssignedIdentities
Get the userAssignedIdentities property: The user assigned managed identities.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
public MediaServiceIdentity withUserAssignedIdentities(Map<String, UserAssignedManagedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: The user assigned managed identities.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the MediaServiceIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-