Class ContainerIdentityInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ContainerIdentityInfo
Container identity information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aadTenantId property: Protection container identity - AAD Tenant.audience()
Get the audience property: Protection container identity - Audience.Get the servicePrincipalClientId property: Protection container identity - AAD Service Principal.Get the uniqueName property: Unique name of the container.void
validate()
Validates the instance.withAadTenantId
(String aadTenantId) Set the aadTenantId property: Protection container identity - AAD Tenant.withAudience
(String audience) Set the audience property: Protection container identity - Audience.withServicePrincipalClientId
(String servicePrincipalClientId) Set the servicePrincipalClientId property: Protection container identity - AAD Service Principal.withUniqueName
(String uniqueName) Set the uniqueName property: Unique name of the container.
-
Constructor Details
-
ContainerIdentityInfo
public ContainerIdentityInfo()Creates an instance of ContainerIdentityInfo class.
-
-
Method Details
-
uniqueName
Get the uniqueName property: Unique name of the container.- Returns:
- the uniqueName value.
-
withUniqueName
Set the uniqueName property: Unique name of the container.- Parameters:
uniqueName
- the uniqueName value to set.- Returns:
- the ContainerIdentityInfo object itself.
-
aadTenantId
Get the aadTenantId property: Protection container identity - AAD Tenant.- Returns:
- the aadTenantId value.
-
withAadTenantId
Set the aadTenantId property: Protection container identity - AAD Tenant.- Parameters:
aadTenantId
- the aadTenantId value to set.- Returns:
- the ContainerIdentityInfo object itself.
-
servicePrincipalClientId
Get the servicePrincipalClientId property: Protection container identity - AAD Service Principal.- Returns:
- the servicePrincipalClientId value.
-
withServicePrincipalClientId
Set the servicePrincipalClientId property: Protection container identity - AAD Service Principal.- Parameters:
servicePrincipalClientId
- the servicePrincipalClientId value to set.- Returns:
- the ContainerIdentityInfo object itself.
-
audience
Get the audience property: Protection container identity - Audience.- Returns:
- the audience value.
-
withAudience
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.
-