Class ContainerIdentityInfo

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ContainerIdentityInfo

public final class ContainerIdentityInfo extends Object
Container identity information.
  • Constructor Details

    • ContainerIdentityInfo

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

    • uniqueName

      public String uniqueName()
      Get the uniqueName property: Unique name of the container.
      Returns:
      the uniqueName value.
    • withUniqueName

      public ContainerIdentityInfo withUniqueName(String uniqueName)
      Set the uniqueName property: Unique name of the container.
      Parameters:
      uniqueName - the uniqueName value to set.
      Returns:
      the ContainerIdentityInfo object itself.
    • aadTenantId

      public String aadTenantId()
      Get the aadTenantId property: Protection container identity - AAD Tenant.
      Returns:
      the aadTenantId value.
    • withAadTenantId

      public ContainerIdentityInfo withAadTenantId(String aadTenantId)
      Set the aadTenantId property: Protection container identity - AAD Tenant.
      Parameters:
      aadTenantId - the aadTenantId value to set.
      Returns:
      the ContainerIdentityInfo object itself.
    • servicePrincipalClientId

      public String servicePrincipalClientId()
      Get the servicePrincipalClientId property: Protection container identity - AAD Service Principal.
      Returns:
      the servicePrincipalClientId value.
    • withServicePrincipalClientId

      public ContainerIdentityInfo withServicePrincipalClientId(String servicePrincipalClientId)
      Set the servicePrincipalClientId property: Protection container identity - AAD Service Principal.
      Parameters:
      servicePrincipalClientId - the servicePrincipalClientId value to set.
      Returns:
      the ContainerIdentityInfo object itself.
    • audience

      public String audience()
      Get the audience property: Protection container identity - Audience.
      Returns:
      the audience value.
    • withAudience

      public ContainerIdentityInfo withAudience(String audience)
      Set the audience property: Protection container identity - Audience.
      Parameters:
      audience - the audience value to set.
      Returns:
      the ContainerIdentityInfo object itself.
    • validate

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