Class AzureDatabaseEncryption.Builder (0.84.0)

public static final class AzureDatabaseEncryption.Builder extends GeneratedMessage.Builder<AzureDatabaseEncryption.Builder> implements AzureDatabaseEncryptionOrBuilder

Configuration related to application-layer secrets encryption.

Anthos clusters on Azure encrypts your Kubernetes data at rest in etcd using Azure Key Vault.

Protobuf type google.cloud.gkemulticloud.v1.AzureDatabaseEncryption

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AzureDatabaseEncryption build()
Returns
Type Description
AzureDatabaseEncryption

buildPartial()

public AzureDatabaseEncryption buildPartial()
Returns
Type Description
AzureDatabaseEncryption

clear()

public AzureDatabaseEncryption.Builder clear()
Returns
Type Description
AzureDatabaseEncryption.Builder
Overrides

clearKeyId()

public AzureDatabaseEncryption.Builder clearKeyId()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureDatabaseEncryption.Builder

This builder for chaining.

getDefaultInstanceForType()

public AzureDatabaseEncryption getDefaultInstanceForType()
Returns
Type Description
AzureDatabaseEncryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeyId()

public String getKeyId()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for keyId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureDatabaseEncryption other)

public AzureDatabaseEncryption.Builder mergeFrom(AzureDatabaseEncryption other)
Parameter
Name Description
other AzureDatabaseEncryption
Returns
Type Description
AzureDatabaseEncryption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureDatabaseEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureDatabaseEncryption.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AzureDatabaseEncryption.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureDatabaseEncryption.Builder
Overrides

setKeyId(String value)

public AzureDatabaseEncryption.Builder setKeyId(String value)

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The keyId to set.

Returns
Type Description
AzureDatabaseEncryption.Builder

This builder for chaining.

setKeyIdBytes(ByteString value)

public AzureDatabaseEncryption.Builder setKeyIdBytes(ByteString value)

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for keyId to set.

Returns
Type Description
AzureDatabaseEncryption.Builder

This builder for chaining.