Interface RestoreTableRequest.Builder

    • Method Detail

      • 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.
      • 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.
      • 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.
      • autoScalingSpecification

        RestoreTableRequest.Builder autoScalingSpecification​(AutoScalingSpecification autoScalingSpecification)

        The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic.

        For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.

        Parameters:
        autoScalingSpecification - The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic.

        For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.

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

        RestoreTableRequest.Builder replicaSpecifications​(Collection<ReplicaSpecification> replicaSpecifications)

        The optional Region specific settings of a multi-Regional table.

        Parameters:
        replicaSpecifications - The optional Region specific settings of a multi-Regional table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicaSpecifications

        RestoreTableRequest.Builder replicaSpecifications​(ReplicaSpecification... replicaSpecifications)

        The optional Region specific settings of a multi-Regional table.

        Parameters:
        replicaSpecifications - The optional Region specific settings of a multi-Regional table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.