Class AwsDatabaseEncryption.Builder (0.48.0)

public static final class AwsDatabaseEncryption.Builder extends GeneratedMessageV3.Builder<AwsDatabaseEncryption.Builder> implements AwsDatabaseEncryptionOrBuilder

Configuration related to application-layer secrets encryption.

Protobuf type google.cloud.gkemulticloud.v1.AwsDatabaseEncryption

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsDatabaseEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

build()

public AwsDatabaseEncryption build()
Returns
Type Description
AwsDatabaseEncryption

buildPartial()

public AwsDatabaseEncryption buildPartial()
Returns
Type Description
AwsDatabaseEncryption

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AwsDatabaseEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

clearKmsKeyArn()

public AwsDatabaseEncryption.Builder clearKmsKeyArn()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsDatabaseEncryption.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsDatabaseEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

clone()

public AwsDatabaseEncryption.Builder clone()
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

getDefaultInstanceForType()

public AwsDatabaseEncryption getDefaultInstanceForType()
Returns
Type Description
AwsDatabaseEncryption

getDescriptorForType()

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

getKmsKeyArn()

public String getKmsKeyArn()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The kmsKeyArn.

getKmsKeyArnBytes()

public ByteString getKmsKeyArnBytes()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for kmsKeyArn.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsDatabaseEncryption other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsDatabaseEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsDatabaseEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

setKmsKeyArn(String value)

public AwsDatabaseEncryption.Builder setKmsKeyArn(String value)

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The kmsKeyArn to set.

Returns
Type Description
AwsDatabaseEncryption.Builder

This builder for chaining.

setKmsKeyArnBytes(ByteString value)

public AwsDatabaseEncryption.Builder setKmsKeyArnBytes(ByteString value)

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for kmsKeyArn to set.

Returns
Type Description
AwsDatabaseEncryption.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsDatabaseEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsDatabaseEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsDatabaseEncryption.Builder
Overrides