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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsDatabaseEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AwsDatabaseEncryption build()
Returns
buildPartial()
public AwsDatabaseEncryption buildPartial()
Returns
clear()
public AwsDatabaseEncryption.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AwsDatabaseEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsDatabaseEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AwsDatabaseEncryption.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AwsDatabaseEncryption getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AwsDatabaseEncryption other)
public AwsDatabaseEncryption.Builder mergeFrom(AwsDatabaseEncryption other)
Parameter
Returns
public AwsDatabaseEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AwsDatabaseEncryption.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsDatabaseEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AwsDatabaseEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsDatabaseEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsDatabaseEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides