public class GlobalTable extends Object implements Serializable
Represents the properties of a global table.
| Constructor and Description |
|---|
GlobalTable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGlobalTableName()
The global table name.
|
List<Replica> |
getReplicationGroup()
The regions where the global table has replicas.
|
int |
hashCode() |
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; useful for testing and
debugging.
|
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 String getGlobalTableName()
The global table name.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The global table name.
public void setGlobalTableName(String globalTableName)
The global table name.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
globalTableName - The global table name.
public GlobalTable withGlobalTableName(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 List<Replica> getReplicationGroup()
The regions where the global table has replicas.
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.
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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.