/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.dynamodbv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains the details of the table when the backup was created. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SourceTableDetails implements Serializable, Cloneable, StructuredPojo { /** ** The name of the table for which the backup was created. *
*/ private String tableName; /** ** Unique identifier for the table for which the backup was created. *
*/ private String tableId; /** ** ARN of the table for which backup was created. *
*/ private String tableArn; /** ** Size of the table in bytes. Note that this is an approximate value. *
*/ private Long tableSizeBytes; /** ** Schema of the table. *
*/ private java.util.List* Time when the source table was created. *
*/ private java.util.Date tableCreationDateTime; /** ** Read IOPs and Write IOPS on the table when the backup was created. *
*/ private ProvisionedThroughput provisionedThroughput; /** ** Number of items in the table. Note that this is an approximate value. *
*/ private Long itemCount; /** ** Controls how you are charged for read and write throughput and how you manage capacity. This setting can be * changed later. *
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend using
* PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We recommend
* using PAY_PER_REQUEST
for unpredictable workloads.
*
* The name of the table for which the backup was created. *
* * @param tableName * The name of the table for which the backup was created. */ public void setTableName(String tableName) { this.tableName = tableName; } /** ** The name of the table for which the backup was created. *
* * @return The name of the table for which the backup was created. */ public String getTableName() { return this.tableName; } /** ** The name of the table for which the backup was created. *
* * @param tableName * The name of the table for which the backup was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withTableName(String tableName) { setTableName(tableName); return this; } /** ** Unique identifier for the table for which the backup was created. *
* * @param tableId * Unique identifier for the table for which the backup was created. */ public void setTableId(String tableId) { this.tableId = tableId; } /** ** Unique identifier for the table for which the backup was created. *
* * @return Unique identifier for the table for which the backup was created. */ public String getTableId() { return this.tableId; } /** ** Unique identifier for the table for which the backup was created. *
* * @param tableId * Unique identifier for the table for which the backup was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withTableId(String tableId) { setTableId(tableId); return this; } /** ** ARN of the table for which backup was created. *
* * @param tableArn * ARN of the table for which backup was created. */ public void setTableArn(String tableArn) { this.tableArn = tableArn; } /** ** ARN of the table for which backup was created. *
* * @return ARN of the table for which backup was created. */ public String getTableArn() { return this.tableArn; } /** ** ARN of the table for which backup was created. *
* * @param tableArn * ARN of the table for which backup was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withTableArn(String tableArn) { setTableArn(tableArn); return this; } /** ** Size of the table in bytes. Note that this is an approximate value. *
* * @param tableSizeBytes * Size of the table in bytes. Note that this is an approximate value. */ public void setTableSizeBytes(Long tableSizeBytes) { this.tableSizeBytes = tableSizeBytes; } /** ** Size of the table in bytes. Note that this is an approximate value. *
* * @return Size of the table in bytes. Note that this is an approximate value. */ public Long getTableSizeBytes() { return this.tableSizeBytes; } /** ** Size of the table in bytes. Note that this is an approximate value. *
* * @param tableSizeBytes * Size of the table in bytes. Note that this is an approximate value. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withTableSizeBytes(Long tableSizeBytes) { setTableSizeBytes(tableSizeBytes); return this; } /** ** Schema of the table. *
* * @return Schema of the table. */ public java.util.List* Schema of the table. *
* * @param keySchema * Schema of the table. */ public void setKeySchema(java.util.Collection* Schema of the table. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setKeySchema(java.util.Collection)} or {@link #withKeySchema(java.util.Collection)} if you want to * override the existing values. *
* * @param keySchema * Schema of the table. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withKeySchema(KeySchemaElement... keySchema) { if (this.keySchema == null) { setKeySchema(new java.util.ArrayList* Schema of the table. *
* * @param keySchema * Schema of the table. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withKeySchema(java.util.Collection* Time when the source table was created. *
* * @param tableCreationDateTime * Time when the source table was created. */ public void setTableCreationDateTime(java.util.Date tableCreationDateTime) { this.tableCreationDateTime = tableCreationDateTime; } /** ** Time when the source table was created. *
* * @return Time when the source table was created. */ public java.util.Date getTableCreationDateTime() { return this.tableCreationDateTime; } /** ** Time when the source table was created. *
* * @param tableCreationDateTime * Time when the source table was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withTableCreationDateTime(java.util.Date tableCreationDateTime) { setTableCreationDateTime(tableCreationDateTime); return this; } /** ** Read IOPs and Write IOPS on the table when the backup was created. *
* * @param provisionedThroughput * Read IOPs and Write IOPS on the table when the backup was created. */ public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput) { this.provisionedThroughput = provisionedThroughput; } /** ** Read IOPs and Write IOPS on the table when the backup was created. *
* * @return Read IOPs and Write IOPS on the table when the backup was created. */ public ProvisionedThroughput getProvisionedThroughput() { return this.provisionedThroughput; } /** ** Read IOPs and Write IOPS on the table when the backup was created. *
* * @param provisionedThroughput * Read IOPs and Write IOPS on the table when the backup was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withProvisionedThroughput(ProvisionedThroughput provisionedThroughput) { setProvisionedThroughput(provisionedThroughput); return this; } /** ** Number of items in the table. Note that this is an approximate value. *
* * @param itemCount * Number of items in the table. Note that this is an approximate value. */ public void setItemCount(Long itemCount) { this.itemCount = itemCount; } /** ** Number of items in the table. Note that this is an approximate value. *
* * @return Number of items in the table. Note that this is an approximate value. */ public Long getItemCount() { return this.itemCount; } /** ** Number of items in the table. Note that this is an approximate value. *
* * @param itemCount * Number of items in the table. Note that this is an approximate value. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableDetails withItemCount(Long itemCount) { setItemCount(itemCount); return this; } /** ** Controls how you are charged for read and write throughput and how you manage capacity. This setting can be * changed later. *
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend using
* PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We recommend
* using PAY_PER_REQUEST
for unpredictable workloads.
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend
* using PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We
* recommend using PAY_PER_REQUEST
for unpredictable workloads.
*
* Controls how you are charged for read and write throughput and how you manage capacity. This setting can be * changed later. *
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend using
* PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We recommend
* using PAY_PER_REQUEST
for unpredictable workloads.
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend
* using PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We
* recommend using PAY_PER_REQUEST
for unpredictable workloads.
*
* Controls how you are charged for read and write throughput and how you manage capacity. This setting can be * changed later. *
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend using
* PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We recommend
* using PAY_PER_REQUEST
for unpredictable workloads.
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend
* using PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We
* recommend using PAY_PER_REQUEST
for unpredictable workloads.
*
* Controls how you are charged for read and write throughput and how you manage capacity. This setting can be * changed later. *
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend using
* PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We recommend
* using PAY_PER_REQUEST
for unpredictable workloads.
*
* PROVISIONED
- Sets the read/write capacity mode to PROVISIONED
. We recommend
* using PROVISIONED
for predictable workloads.
*
* PAY_PER_REQUEST
- Sets the read/write capacity mode to PAY_PER_REQUEST
. We
* recommend using PAY_PER_REQUEST
for unpredictable workloads.
*