com.azure.resourcemanager.recoveryservicesbackup.models.ContainerIdentityInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Container identity information.
*/
@Fluent
public final class ContainerIdentityInfo {
/*
* Unique name of the container
*/
@JsonProperty(value = "uniqueName")
private String uniqueName;
/*
* Protection container identity - AAD Tenant
*/
@JsonProperty(value = "aadTenantId")
private String aadTenantId;
/*
* Protection container identity - AAD Service Principal
*/
@JsonProperty(value = "servicePrincipalClientId")
private String servicePrincipalClientId;
/*
* Protection container identity - Audience
*/
@JsonProperty(value = "audience")
private String audience;
/**
* Creates an instance of ContainerIdentityInfo class.
*/
public ContainerIdentityInfo() {
}
/**
* Get the uniqueName property: Unique name of the container.
*
* @return the uniqueName value.
*/
public String uniqueName() {
return this.uniqueName;
}
/**
* Set the uniqueName property: Unique name of the container.
*
* @param uniqueName the uniqueName value to set.
* @return the ContainerIdentityInfo object itself.
*/
public ContainerIdentityInfo withUniqueName(String uniqueName) {
this.uniqueName = uniqueName;
return this;
}
/**
* Get the aadTenantId property: Protection container identity - AAD Tenant.
*
* @return the aadTenantId value.
*/
public String aadTenantId() {
return this.aadTenantId;
}
/**
* Set the aadTenantId property: Protection container identity - AAD Tenant.
*
* @param aadTenantId the aadTenantId value to set.
* @return the ContainerIdentityInfo object itself.
*/
public ContainerIdentityInfo withAadTenantId(String aadTenantId) {
this.aadTenantId = aadTenantId;
return this;
}
/**
* Get the servicePrincipalClientId property: Protection container identity - AAD Service Principal.
*
* @return the servicePrincipalClientId value.
*/
public String servicePrincipalClientId() {
return this.servicePrincipalClientId;
}
/**
* Set the servicePrincipalClientId property: Protection container identity - AAD Service Principal.
*
* @param servicePrincipalClientId the servicePrincipalClientId value to set.
* @return the ContainerIdentityInfo object itself.
*/
public ContainerIdentityInfo withServicePrincipalClientId(String servicePrincipalClientId) {
this.servicePrincipalClientId = servicePrincipalClientId;
return this;
}
/**
* Get the audience property: Protection container identity - Audience.
*
* @return the audience value.
*/
public String audience() {
return this.audience;
}
/**
* Set the audience property: Protection container identity - Audience.
*
* @param audience the audience value to set.
* @return the ContainerIdentityInfo object itself.
*/
public ContainerIdentityInfo withAudience(String audience) {
this.audience = audience;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy