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 Details

    • 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

      The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database. If the KmsKeyId currently registered with the database is the same as the KmsKeyId 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 the KmsKeyId currently registered with the database is the same as the KmsKeyId 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.