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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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 theKmsKeyIdcurrently registered with the database is the same as theKmsKeyIdin the request, there will not be any update.You can specify the
KmsKeyIdusing 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 theKmsKeyIdcurrently registered with the database is the same as theKmsKeyIdin the request, there will not be any update.You can specify the
KmsKeyIdusing 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-