Class RestoreTableRequest

    • Method Detail

      • sourceKeyspaceName

        public final String sourceKeyspaceName()

        The keyspace name of the source table.

        Returns:
        The keyspace name of the source table.
      • sourceTableName

        public final String sourceTableName()

        The name of the source table.

        Returns:
        The name of the source table.
      • targetKeyspaceName

        public final String targetKeyspaceName()

        The name of the target keyspace.

        Returns:
        The name of the target keyspace.
      • targetTableName

        public final String targetTableName()

        The name of the target table.

        Returns:
        The name of the target table.
      • restoreTimestamp

        public final Instant restoreTimestamp()

        The restore timestamp in ISO 8601 format.

        Returns:
        The restore timestamp in ISO 8601 format.
      • capacitySpecificationOverride

        public final 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.

        Returns:
        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.

      • encryptionSpecificationOverride

        public final 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.

        Returns:
        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.

      • pointInTimeRecoveryOverride

        public final 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.

        Returns:
        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.

      • hasTagsOverride

        public final boolean hasTagsOverride()
        For responses, this returns true if the service returned a value for the TagsOverride property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • tagsOverride

        public final List<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.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTagsOverride() method.

        Returns:
        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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object