KeyVaultProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.eventhubs.models.KeyVaultProperties

public final class KeyVaultProperties

Properties to configure keyVault Properties.

Constructor Summary

Constructor Description
KeyVaultProperties()

Method Summary

Modifier and Type Method and Description
UserAssignedIdentityProperties identity()

Get the identity property: The identity property.

String keyName()

Get the keyName property: Name of the Key from KeyVault.

String keyVaultUri()

Get the keyVaultUri property: Uri of KeyVault.

String keyVersion()

Get the keyVersion property: Key Version.

void validate()

Validates the instance.

KeyVaultProperties withIdentity(UserAssignedIdentityProperties identity)

Set the identity property: The identity property.

KeyVaultProperties withKeyName(String keyName)

Set the keyName property: Name of the Key from KeyVault.

KeyVaultProperties withKeyVaultUri(String keyVaultUri)

Set the keyVaultUri property: Uri of KeyVault.

KeyVaultProperties withKeyVersion(String keyVersion)

Set the keyVersion property: Key Version.

Methods inherited from java.lang.Object

Constructor Details

KeyVaultProperties

public KeyVaultProperties()

Method Details

identity

public UserAssignedIdentityProperties identity()

Get the identity property: The identity property.

Returns:

the identity value.

keyName

public String keyName()

Get the keyName property: Name of the Key from KeyVault.

Returns:

the keyName value.

keyVaultUri

public String keyVaultUri()

Get the keyVaultUri property: Uri of KeyVault.

Returns:

the keyVaultUri value.

keyVersion

public String keyVersion()

Get the keyVersion property: Key Version.

Returns:

the keyVersion value.

validate

public void validate()

Validates the instance.

withIdentity

public KeyVaultProperties withIdentity(UserAssignedIdentityProperties identity)

Set the identity property: The identity property.

Parameters:

identity - the identity value to set.

Returns:

the KeyVaultProperties object itself.

withKeyName

public KeyVaultProperties withKeyName(String keyName)

Set the keyName property: Name of the Key from KeyVault.

Parameters:

keyName - the keyName value to set.

Returns:

the KeyVaultProperties object itself.

withKeyVaultUri

public KeyVaultProperties withKeyVaultUri(String keyVaultUri)

Set the keyVaultUri property: Uri of KeyVault.

Parameters:

keyVaultUri - the keyVaultUri value to set.

Returns:

the KeyVaultProperties object itself.

withKeyVersion

public KeyVaultProperties withKeyVersion(String keyVersion)

Set the keyVersion property: Key Version.

Parameters:

keyVersion - the keyVersion value to set.

Returns:

the KeyVaultProperties object itself.

Applies to