Interface UpdateDatabaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDatabaseRequest.Builder,
,UpdateDatabaseRequest> SdkBuilder<UpdateDatabaseRequest.Builder,
,UpdateDatabaseRequest> SdkPojo
,SdkRequest.Builder
,TimestreamWriteRequest.Builder
- Enclosing class:
UpdateDatabaseRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseName
(String databaseName) The name of the database.The identifier of the new KMS key (KmsKeyId
) to be used to encrypt the data stored in the database.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.timestreamwrite.model.TimestreamWriteRequest.Builder
build
-
Method Details
-
databaseName
The name of the database.
- Parameters:
databaseName
- The name of the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The identifier of the new KMS key (
KmsKeyId
) to be used to encrypt the data stored in the database. If theKmsKeyId
currently registered with the database is the same as theKmsKeyId
in the request, there will not be any update.You can specify the
KmsKeyId
using any of the following:-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
-
Alias name:
alias/ExampleAlias
-
Alias ARN:
arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
- Parameters:
kmsKeyId
- The identifier of the new KMS key (KmsKeyId
) to be used to encrypt the data stored in the database. If theKmsKeyId
currently registered with the database is the same as theKmsKeyId
in the request, there will not be any update.You can specify the
KmsKeyId
using any of the following:-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
-
Alias name:
alias/ExampleAlias
-
Alias ARN:
arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-