Interface RestoreTableRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<RestoreTableRequest.Builder,RestoreTableRequest>, KeyspacesRequest.Builder, SdkBuilder<RestoreTableRequest.Builder,RestoreTableRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
RestoreTableRequest

public static interface RestoreTableRequest.Builder extends KeyspacesRequest.Builder, SdkPojo, CopyableBuilder<RestoreTableRequest.Builder,RestoreTableRequest>
  • Method Details

    • sourceKeyspaceName

      RestoreTableRequest.Builder sourceKeyspaceName(String sourceKeyspaceName)

      The keyspace name of the source table.

      Parameters:
      sourceKeyspaceName - The keyspace name of the source table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceTableName

      RestoreTableRequest.Builder sourceTableName(String sourceTableName)

      The name of the source table.

      Parameters:
      sourceTableName - The name of the source table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetKeyspaceName

      RestoreTableRequest.Builder targetKeyspaceName(String targetKeyspaceName)

      The name of the target keyspace.

      Parameters:
      targetKeyspaceName - The name of the target keyspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetTableName

      RestoreTableRequest.Builder targetTableName(String targetTableName)

      The name of the target table.

      Parameters:
      targetTableName - The name of the target table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreTimestamp

      RestoreTableRequest.Builder restoreTimestamp(Instant restoreTimestamp)

      The restore timestamp in ISO 8601 format.

      Parameters:
      restoreTimestamp - The restore timestamp in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacitySpecificationOverride

      RestoreTableRequest.Builder capacitySpecificationOverride(CapacitySpecification capacitySpecificationOverride)

      Specifies the read/write throughput capacity mode for the target table. The options are:

      • throughputMode:PAY_PER_REQUEST

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

      Parameters:
      capacitySpecificationOverride - Specifies the read/write throughput capacity mode for the target table. The options are:

      • throughputMode:PAY_PER_REQUEST

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacitySpecificationOverride

      default RestoreTableRequest.Builder capacitySpecificationOverride(Consumer<CapacitySpecification.Builder> capacitySpecificationOverride)

      Specifies the read/write throughput capacity mode for the target table. The options are:

      • throughputMode:PAY_PER_REQUEST

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

      This is a convenience method that creates an instance of the CapacitySpecification.Builder avoiding the need to create one manually via CapacitySpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capacitySpecificationOverride(CapacitySpecification).

      Parameters:
      capacitySpecificationOverride - a consumer that will call methods on CapacitySpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionSpecificationOverride

      RestoreTableRequest.Builder encryptionSpecificationOverride(EncryptionSpecification encryptionSpecificationOverride)

      Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):

      • type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

      • type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

      The default is type:AWS_OWNED_KMS_KEY.

      For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

      Parameters:
      encryptionSpecificationOverride - Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):

      • type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

      • type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

      The default is type:AWS_OWNED_KMS_KEY.

      For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionSpecificationOverride

      default RestoreTableRequest.Builder encryptionSpecificationOverride(Consumer<EncryptionSpecification.Builder> encryptionSpecificationOverride)

      Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):

      • type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

      • type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

      The default is type:AWS_OWNED_KMS_KEY.

      For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

      This is a convenience method that creates an instance of the EncryptionSpecification.Builder avoiding the need to create one manually via EncryptionSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionSpecificationOverride(EncryptionSpecification).

      Parameters:
      encryptionSpecificationOverride - a consumer that will call methods on EncryptionSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pointInTimeRecoveryOverride

      RestoreTableRequest.Builder pointInTimeRecoveryOverride(PointInTimeRecovery pointInTimeRecoveryOverride)

      Specifies the pointInTimeRecovery settings for the target table. The options are:

      • status=ENABLED

      • status=DISABLED

      If it's not specified, the default is status=DISABLED.

      For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.

      Parameters:
      pointInTimeRecoveryOverride - Specifies the pointInTimeRecovery settings for the target table. The options are:

      • status=ENABLED

      • status=DISABLED

      If it's not specified, the default is status=DISABLED.

      For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pointInTimeRecoveryOverride

      default RestoreTableRequest.Builder pointInTimeRecoveryOverride(Consumer<PointInTimeRecovery.Builder> pointInTimeRecoveryOverride)

      Specifies the pointInTimeRecovery settings for the target table. The options are:

      • status=ENABLED

      • status=DISABLED

      If it's not specified, the default is status=DISABLED.

      For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.

      This is a convenience method that creates an instance of the PointInTimeRecovery.Builder avoiding the need to create one manually via PointInTimeRecovery.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pointInTimeRecoveryOverride(PointInTimeRecovery).

      Parameters:
      pointInTimeRecoveryOverride - a consumer that will call methods on PointInTimeRecovery.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tagsOverride

      RestoreTableRequest.Builder tagsOverride(Collection<Tag> tagsOverride)

      A list of key-value pair tags to be attached to the restored table.

      For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

      Parameters:
      tagsOverride - A list of key-value pair tags to be attached to the restored table.

      For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagsOverride

      RestoreTableRequest.Builder tagsOverride(Tag... tagsOverride)

      A list of key-value pair tags to be attached to the restored table.

      For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

      Parameters:
      tagsOverride - A list of key-value pair tags to be attached to the restored table.

      For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagsOverride

      RestoreTableRequest.Builder tagsOverride(Consumer<Tag.Builder>... tagsOverride)

      A list of key-value pair tags to be attached to the restored table.

      For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagsOverride(List<Tag>).

      Parameters:
      tagsOverride - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      RestoreTableRequest.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.