Class ContainerIdentityInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ContainerIdentityInfo
-
public final class ContainerIdentityInfo extends Object
Container identity information.
-
-
Constructor Summary
Constructors Constructor Description ContainerIdentityInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
aadTenantId()
Get the aadTenantId property: Protection container identity - AAD Tenant.String
audience()
Get the audience property: Protection container identity - Audience.String
servicePrincipalClientId()
Get the servicePrincipalClientId property: Protection container identity - AAD Service Principal.String
uniqueName()
Get the uniqueName property: Unique name of the container.void
validate()
Validates the instance.ContainerIdentityInfo
withAadTenantId(String aadTenantId)
Set the aadTenantId property: Protection container identity - AAD Tenant.ContainerIdentityInfo
withAudience(String audience)
Set the audience property: Protection container identity - Audience.ContainerIdentityInfo
withServicePrincipalClientId(String servicePrincipalClientId)
Set the servicePrincipalClientId property: Protection container identity - AAD Service Principal.ContainerIdentityInfo
withUniqueName(String uniqueName)
Set the uniqueName property: Unique name of the container.
-
-
-
Method Detail
-
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.
-
-