Class AmlFilesystemIdentity

java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemIdentity

public class AmlFilesystemIdentity extends Object
Managed Identity properties.
  • Constructor Details

    • AmlFilesystemIdentity

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

    • principalId

      public String principalId()
      Get the principalId property: The principal ID for the user-assigned identity of the resource.
      Returns:
      the principalId value.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenant ID associated with the resource.
      Returns:
      the tenantId value.
    • type

      Get the type property: The type of identity used for the resource.
      Returns:
      the type value.
    • withType

      Set the type property: The type of identity used for the resource.
      Parameters:
      type - the type value to set.
      Returns:
      the AmlFilesystemIdentity object itself.
    • userAssignedIdentities

      public Map<String,UserAssignedIdentitiesValueAutoGenerated> userAssignedIdentities()
      Get the userAssignedIdentities property: A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.
      Returns:
      the userAssignedIdentities value.
    • withUserAssignedIdentities

      public AmlFilesystemIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentitiesValueAutoGenerated> userAssignedIdentities)
      Set the userAssignedIdentities property: A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.
      Parameters:
      userAssignedIdentities - the userAssignedIdentities value to set.
      Returns:
      the AmlFilesystemIdentity object itself.
    • validate

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