VaultSecretGroup Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.VaultSecretGroup

Implements

public final class VaultSecretGroup
implements JsonSerializable<VaultSecretGroup>

Describes a set of certificates which are all in the same Key Vault.

Constructor Summary

Constructor Description
VaultSecretGroup()

Creates an instance of VaultSecretGroup class.

Method Summary

Modifier and Type Method and Description
static VaultSecretGroup fromJson(JsonReader jsonReader)

Reads an instance of VaultSecretGroup from the JsonReader.

SubResource sourceVault()

Get the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VaultCertificate> vaultCertificates()

Get the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

VaultSecretGroup withSourceVault(SubResource sourceVault)

Set the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

VaultSecretGroup withVaultCertificates(List<VaultCertificate> vaultCertificates)

Set the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

Methods inherited from java.lang.Object

Constructor Details

VaultSecretGroup

public VaultSecretGroup()

Creates an instance of VaultSecretGroup class.

Method Details

fromJson

public static VaultSecretGroup fromJson(JsonReader jsonReader)

Reads an instance of VaultSecretGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VaultSecretGroup if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VaultSecretGroup.

sourceVault

public SubResource sourceVault()

Get the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

Returns:

the sourceVault value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vaultCertificates

public List vaultCertificates()

Get the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

Returns:

the vaultCertificates value.

withSourceVault

public VaultSecretGroup withSourceVault(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.

withVaultCertificates

public VaultSecretGroup withVaultCertificates(List 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.

Applies to