/* * Copyright 2010-2019 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; public class DescribeGlobalTableSettingsResult implements Serializable { /** *
* The name of the global table. *
*
* Constraints:
* Length: 3 - 255
* Pattern: [a-zA-Z0-9_.-]+
*/
private String globalTableName;
/**
*
* The region specific settings for the global table. *
*/ private java.util.List* The name of the global table. *
*
* Constraints:
* Length: 3 - 255
* Pattern: [a-zA-Z0-9_.-]+
*
* @return
* The name of the global table. *
*/ public String getGlobalTableName() { return globalTableName; } /** ** The name of the global table. *
*
* Constraints:
* Length: 3 - 255
* Pattern: [a-zA-Z0-9_.-]+
*
* @param globalTableName
* The name of the global table. *
*/ public void setGlobalTableName(String globalTableName) { this.globalTableName = globalTableName; } /** ** The name of the global table. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 3 - 255
* Pattern: [a-zA-Z0-9_.-]+
*
* @param globalTableName
* The name of the global table. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DescribeGlobalTableSettingsResult withGlobalTableName(String globalTableName) { this.globalTableName = globalTableName; return this; } /** ** The region specific settings for the global table. *
* * @return* The region specific settings for the global table. *
*/ public java.util.List* The region specific settings for the global table. *
* * @param replicaSettings* The region specific settings for the global table. *
*/ public void setReplicaSettings(java.util.Collection* The region specific settings for the global table. *
** Returns a reference to this object so that method calls can be chained * together. * * @param replicaSettings
* The region specific settings for the global table. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DescribeGlobalTableSettingsResult withReplicaSettings( ReplicaSettingsDescription... replicaSettings) { if (getReplicaSettings() == null) { this.replicaSettings = new java.util.ArrayList* The region specific settings for the global table. *
** Returns a reference to this object so that method calls can be chained * together. * * @param replicaSettings
* The region specific settings for the global table. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DescribeGlobalTableSettingsResult withReplicaSettings( java.util.Collection