Class AwsConfigEncryption.Builder (0.84.0)

public static final class AwsConfigEncryption.Builder extends GeneratedMessage.Builder<AwsConfigEncryption.Builder> implements AwsConfigEncryptionOrBuilder

Config encryption for user data.

Protobuf type google.cloud.gkemulticloud.v1.AwsConfigEncryption

Static Methods

getDescriptor()

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

Methods

build()

public AwsConfigEncryption build()
Returns
Type Description
AwsConfigEncryption

buildPartial()

public AwsConfigEncryption buildPartial()
Returns
Type Description
AwsConfigEncryption

clear()

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

clearKmsKeyArn()

public AwsConfigEncryption.Builder clearKmsKeyArn()

Required. The ARN of the AWS KMS key used to encrypt user data.

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

Returns
Type Description
AwsConfigEncryption.Builder

This builder for chaining.

getDefaultInstanceForType()

public AwsConfigEncryption getDefaultInstanceForType()
Returns
Type Description
AwsConfigEncryption

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 user data.

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 user data.

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

Returns
Type Description
ByteString

The bytes for kmsKeyArn.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsConfigEncryption other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setKmsKeyArn(String value)

public AwsConfigEncryption.Builder setKmsKeyArn(String value)

Required. The ARN of the AWS KMS key used to encrypt user data.

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

Parameter
Name Description
value String

The kmsKeyArn to set.

Returns
Type Description
AwsConfigEncryption.Builder

This builder for chaining.

setKmsKeyArnBytes(ByteString value)

public AwsConfigEncryption.Builder setKmsKeyArnBytes(ByteString value)

Required. The ARN of the AWS KMS key used to encrypt user data.

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

Parameter
Name Description
value ByteString

The bytes for kmsKeyArn to set.

Returns
Type Description
AwsConfigEncryption.Builder

This builder for chaining.