Class MediaServiceIdentity

java.lang.Object
com.azure.resourcemanager.mediaservices.models.MediaServiceIdentity

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

    • MediaServiceIdentity

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

    • type

      public String type()
      Get the type property: The identity type.
      Returns:
      the type value.
    • withType

      public MediaServiceIdentity withType(String type)
      Set the type property: The identity type.
      Parameters:
      type - the type value to set.
      Returns:
      the MediaServiceIdentity object itself.
    • principalId

      public UUID principalId()
      Get the principalId property: The Principal ID of the identity.
      Returns:
      the principalId value.
    • tenantId

      public UUID tenantId()
      Get the tenantId property: The Tenant ID of the identity.
      Returns:
      the tenantId value.
    • userAssignedIdentities

      public Map<String,UserAssignedManagedIdentity> 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.