public class GlobalTable
extends java.lang.Object
implements java.io.Serializable
Represents the properties of a global table.
| Constructor and Description |
|---|
GlobalTable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGlobalTableName()
The global table name.
|
java.util.List<Replica> |
getReplicationGroup()
The regions where the global table has replicas.
|
int |
hashCode() |
void |
setGlobalTableName(java.lang.String globalTableName)
The global table name.
|
void |
setReplicationGroup(java.util.Collection<Replica> replicationGroup)
The regions where the global table has replicas.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GlobalTable |
withGlobalTableName(java.lang.String globalTableName)
The global table name.
|
GlobalTable |
withReplicationGroup(java.util.Collection<Replica> replicationGroup)
The regions where the global table has replicas.
|
GlobalTable |
withReplicationGroup(Replica... replicationGroup)
The regions where the global table has replicas.
|
public java.lang.String getGlobalTableName()
The global table name.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The global table name.
public void setGlobalTableName(java.lang.String globalTableName)
The global table name.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
globalTableName - The global table name.
public GlobalTable withGlobalTableName(java.lang.String globalTableName)
The global table name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
globalTableName - The global table name.
public java.util.List<Replica> getReplicationGroup()
The regions where the global table has replicas.
The regions where the global table has replicas.
public void setReplicationGroup(java.util.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.
Returns a reference to this object so that method calls can be chained together.
replicationGroup - The regions where the global table has replicas.
public GlobalTable withReplicationGroup(java.util.Collection<Replica> replicationGroup)
The regions where the global table has replicas.
Returns a reference to this object so that method calls can be chained together.
replicationGroup - The regions where the global table has replicas.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.