Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.microsoft.azure.SubResource;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Describes a set of certificates which are all in the same Key Vault.
/**
* Describes a set of certificates which are all in the same Key Vault.
*/
public class VaultSecretGroup {
The relative URL of the Key Vault containing all of the certificates in
VaultCertificates.
/**
* The relative URL of the Key Vault containing all of the certificates in
* VaultCertificates.
*/
@JsonProperty(value = "sourceVault")
private SubResource sourceVault;
The list of key vault references in SourceVault which contain
certificates.
/**
* The list of key vault references in SourceVault which contain
* certificates.
*/
@JsonProperty(value = "vaultCertificates")
private List<VaultCertificate> vaultCertificates;
Get the relative URL of the Key Vault containing all of the certificates in VaultCertificates.
Returns: the sourceVault value
/**
* Get the relative URL of the Key Vault containing all of the certificates in VaultCertificates.
*
* @return the sourceVault value
*/
public SubResource sourceVault() {
return this.sourceVault;
}
Set the relative URL of the Key Vault containing all of the certificates in VaultCertificates.
Params: - sourceVault – the sourceVault value to set
Returns: the VaultSecretGroup object itself.
/**
* Set the relative URL of the Key Vault containing all of the certificates in VaultCertificates.
*
* @param sourceVault the sourceVault value to set
* @return the VaultSecretGroup object itself.
*/
public VaultSecretGroup withSourceVault(SubResource sourceVault) {
this.sourceVault = sourceVault;
return this;
}
Get the list of key vault references in SourceVault which contain certificates.
Returns: the vaultCertificates value
/**
* Get the list of key vault references in SourceVault which contain certificates.
*
* @return the vaultCertificates value
*/
public List<VaultCertificate> vaultCertificates() {
return this.vaultCertificates;
}
Set the list of key vault references in SourceVault which contain certificates.
Params: - vaultCertificates – the vaultCertificates value to set
Returns: the VaultSecretGroup object itself.
/**
* Set the list of key vault references in SourceVault which contain certificates.
*
* @param vaultCertificates the vaultCertificates value to set
* @return the VaultSecretGroup object itself.
*/
public VaultSecretGroup withVaultCertificates(List<VaultCertificate> vaultCertificates) {
this.vaultCertificates = vaultCertificates;
return this;
}
}