/* * 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.keyspaces.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetTableResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The name of the keyspace that the specified table is stored in. *

*/ private String keyspaceName; /** *

* The name of the specified table. *

*/ private String tableName; /** *

* The Amazon Resource Name (ARN) of the specified table. *

*/ private String resourceArn; /** *

* The creation timestamp of the specified table. *

*/ private java.util.Date creationTimestamp; /** *

* The current status of the specified table. *

*/ private String status; /** *

* The schema definition of the specified table. *

*/ private SchemaDefinition schemaDefinition; /** *

* The read/write throughput capacity mode for a table. The options are: *

* */ private CapacitySpecificationSummary capacitySpecification; /** *

* The encryption settings of the specified table. *

*/ private EncryptionSpecification encryptionSpecification; /** *

* The point-in-time recovery status of the specified table. *

*/ private PointInTimeRecoverySummary pointInTimeRecovery; /** *

* The custom Time to Live settings of the specified table. *

*/ private TimeToLive ttl; /** *

* The default Time to Live settings in seconds of the specified table. *

*/ private Integer defaultTimeToLive; /** *

* The the description of the specified table. *

*/ private Comment comment; /** *

* The client-side timestamps setting of the table. *

*/ private ClientSideTimestamps clientSideTimestamps; /** *

* The name of the keyspace that the specified table is stored in. *

* * @param keyspaceName * The name of the keyspace that the specified table is stored in. */ public void setKeyspaceName(String keyspaceName) { this.keyspaceName = keyspaceName; } /** *

* The name of the keyspace that the specified table is stored in. *

* * @return The name of the keyspace that the specified table is stored in. */ public String getKeyspaceName() { return this.keyspaceName; } /** *

* The name of the keyspace that the specified table is stored in. *

* * @param keyspaceName * The name of the keyspace that the specified table is stored in. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTableResult withKeyspaceName(String keyspaceName) { setKeyspaceName(keyspaceName); return this; } /** *

* The name of the specified table. *

* * @param tableName * The name of the specified table. */ public void setTableName(String tableName) { this.tableName = tableName; } /** *

* The name of the specified table. *

* * @return The name of the specified table. */ public String getTableName() { return this.tableName; } /** *

* The name of the specified table. *

* * @param tableName * The name of the specified table. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTableResult withTableName(String tableName) { setTableName(tableName); return this; } /** *

* The Amazon Resource Name (ARN) of the specified table. *

* * @param resourceArn * The Amazon Resource Name (ARN) of the specified table. */ public void setResourceArn(String resourceArn) { this.resourceArn = resourceArn; } /** *

* The Amazon Resource Name (ARN) of the specified table. *

* * @return The Amazon Resource Name (ARN) of the specified table. */ public String getResourceArn() { return this.resourceArn; } /** *

* The Amazon Resource Name (ARN) of the specified table. *

* * @param resourceArn * The Amazon Resource Name (ARN) of the specified table. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTableResult withResourceArn(String resourceArn) { setResourceArn(resourceArn); return this; } /** *

* The creation timestamp of the specified table. *

* * @param creationTimestamp * The creation timestamp of the specified table. */ public void setCreationTimestamp(java.util.Date creationTimestamp) { this.creationTimestamp = creationTimestamp; } /** *

* The creation timestamp of the specified table. *

* * @return The creation timestamp of the specified table. */ public java.util.Date getCreationTimestamp() { return this.creationTimestamp; } /** *

* The creation timestamp of the specified table. *

* * @param creationTimestamp * The creation timestamp of the specified table. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTableResult withCreationTimestamp(java.util.Date creationTimestamp) { setCreationTimestamp(creationTimestamp); return this; } /** *

* The current status of the specified table. *

* * @param status * The current status of the specified table. * @see TableStatus */ public void setStatus(String status) { this.status = status; } /** *

* The current status of the specified table. *

* * @return The current status of the specified table. * @see TableStatus */ public String getStatus() { return this.status; } /** *

* The current status of the specified table. *

* * @param status * The current status of the specified table. * @return Returns a reference to this object so that method calls can be chained together. * @see TableStatus */ public GetTableResult withStatus(String status) { setStatus(status); return this; } /** *

* The current status of the specified table. *

* * @param status * The current status of the specified table. * @return Returns a reference to this object so that method calls can be chained together. * @see TableStatus */ public GetTableResult withStatus(TableStatus status) { this.status = status.toString(); return this; } /** *

* The schema definition of the specified table. *

* * @param schemaDefinition * The schema definition of the specified table. */ public void setSchemaDefinition(SchemaDefinition schemaDefinition) { this.schemaDefinition = schemaDefinition; } /** *

* The schema definition of the specified table. *

* * @return The schema definition of the specified table. */ public SchemaDefinition getSchemaDefinition() { return this.schemaDefinition; } /** *

* The schema definition of the specified table. *

* * @param schemaDefinition * The schema definition of the specified table. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTableResult withSchemaDefinition(SchemaDefinition schemaDefinition) { setSchemaDefinition(schemaDefinition); return this; } /** *

* The read/write throughput capacity mode for a table. The options are: *

* * * @param capacitySpecification * The read/write throughput capacity mode for a table. The options are:

*