Interface UpdateDatabaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>,SdkBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>,SdkPojo,SdkRequest.Builder,TimestreamWriteRequest.Builder
- Enclosing class:
- UpdateDatabaseRequest
public static interface UpdateDatabaseRequest.Builder extends TimestreamWriteRequest.Builder, SdkPojo, CopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateDatabaseRequest.BuilderdatabaseName(String databaseName)The name of the database.UpdateDatabaseRequest.BuilderkmsKeyId(String kmsKeyId)The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database.UpdateDatabaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDatabaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
databaseName
UpdateDatabaseRequest.Builder databaseName(String 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
UpdateDatabaseRequest.Builder kmsKeyId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-