@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalTable extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of a global table.
Constructor and Description |
---|
GlobalTable() |
Modifier and Type | Method and Description |
---|---|
GlobalTable |
clone() |
boolean |
equals(Object obj) |
String |
getGlobalTableName()
The global table name.
|
List<Replica> |
getReplicationGroup()
The Regions where the global table has replicas.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setGlobalTableName(String globalTableName)
The global table name.
|
void |
setReplicationGroup(Collection<Replica> replicationGroup)
The Regions where the global table has replicas.
|
String |
toString()
Returns a string representation of this object.
|
GlobalTable |
withGlobalTableName(String globalTableName)
The global table name.
|
GlobalTable |
withReplicationGroup(Collection<Replica> replicationGroup)
The Regions where the global table has replicas.
|
GlobalTable |
withReplicationGroup(Replica... replicationGroup)
The Regions where the global table has replicas.
|
public void setGlobalTableName(String globalTableName)
The global table name.
globalTableName
- The global table name.public String getGlobalTableName()
The global table name.
public GlobalTable withGlobalTableName(String globalTableName)
The global table name.
globalTableName
- The global table name.public List<Replica> getReplicationGroup()
The Regions where the global table has replicas.
public void setReplicationGroup(Collection<Replica> replicationGroup)
The Regions where the global table has replicas.
replicationGroup
- The Regions where the global table has replicas.public GlobalTable withReplicationGroup(Replica... replicationGroup)
The Regions where the global table has replicas.
NOTE: This method appends the values to the existing list (if any). Use
setReplicationGroup(java.util.Collection)
or withReplicationGroup(java.util.Collection)
if you
want to override the existing values.
replicationGroup
- The Regions where the global table has replicas.public GlobalTable withReplicationGroup(Collection<Replica> replicationGroup)
The Regions where the global table has replicas.
replicationGroup
- The Regions where the global table has replicas.public String toString()
toString
in class Object
Object.toString()
public GlobalTable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.