Class VaultSecretGroup
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VaultSecretGroup
-
public final class VaultSecretGroup extends Object
Describes a set of certificates which are all in the same Key Vault.
-
-
Constructor Summary
Constructors Constructor Description VaultSecretGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcesourceVault()Get the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.voidvalidate()Validates the instance.List<VaultCertificate>vaultCertificates()Get the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.VaultSecretGroupwithSourceVault(com.azure.core.management.SubResource sourceVault)Set the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.VaultSecretGroupwithVaultCertificates(List<VaultCertificate> vaultCertificates)Set the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.
-
-
-
Method Detail
-
sourceVault
public com.azure.core.management.SubResource sourceVault()
Get the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.- Returns:
- the sourceVault value.
-
withSourceVault
public VaultSecretGroup withSourceVault(com.azure.core.management.SubResource sourceVault)
Set the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.- Parameters:
sourceVault- the sourceVault value to set.- Returns:
- the VaultSecretGroup object itself.
-
vaultCertificates
public List<VaultCertificate> vaultCertificates()
Get the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.- Returns:
- the vaultCertificates value.
-
withVaultCertificates
public VaultSecretGroup withVaultCertificates(List<VaultCertificate> vaultCertificates)
Set the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.- Parameters:
vaultCertificates- the vaultCertificates value to set.- Returns:
- the VaultSecretGroup object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-