KeyVaultKeyReference Class

  • java.lang.Object
    • com.azure.resourcemanager.logic.models.KeyVaultKeyReference

public final class KeyVaultKeyReference

The reference to the key vault key.

Constructor Summary

Constructor Description
KeyVaultKeyReference()

Creates an instance of KeyVaultKeyReference class.

Method Summary

Modifier and Type Method and Description
String keyName()

Get the keyName property: The private key name in key vault.

KeyVaultKeyReferenceKeyVault keyVault()

Get the keyVault property: The key vault reference.

String keyVersion()

Get the keyVersion property: The private key version in key vault.

void validate()

Validates the instance.

KeyVaultKeyReference withKeyName(String keyName)

Set the keyName property: The private key name in key vault.

KeyVaultKeyReference withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)

Set the keyVault property: The key vault reference.

KeyVaultKeyReference withKeyVersion(String keyVersion)

Set the keyVersion property: The private key version in key vault.

Methods inherited from java.lang.Object

Constructor Details

KeyVaultKeyReference

public KeyVaultKeyReference()

Creates an instance of KeyVaultKeyReference class.

Method Details

keyName

public String keyName()

Get the keyName property: The private key name in key vault.

Returns:

the keyName value.

keyVault

public KeyVaultKeyReferenceKeyVault keyVault()

Get the keyVault property: The key vault reference.

Returns:

the keyVault value.

keyVersion

public String keyVersion()

Get the keyVersion property: The private key version in key vault.

Returns:

the keyVersion value.

validate

public void validate()

Validates the instance.

withKeyName

public KeyVaultKeyReference withKeyName(String keyName)

Set the keyName property: The private key name in key vault.

Parameters:

keyName - the keyName value to set.

Returns:

the KeyVaultKeyReference object itself.

withKeyVault

public KeyVaultKeyReference withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)

Set the keyVault property: The key vault reference.

Parameters:

keyVault - the keyVault value to set.

Returns:

the KeyVaultKeyReference object itself.

withKeyVersion

public KeyVaultKeyReference withKeyVersion(String keyVersion)

Set the keyVersion property: The private key version in key vault.

Parameters:

keyVersion - the keyVersion value to set.

Returns:

the KeyVaultKeyReference object itself.

Applies to