@Generated(value="software.amazon.awssdk:codegen") public final class GlobalTable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GlobalTable.Builder,GlobalTable>
Represents the properties of a global table.
Modifier and Type | Class and Description |
---|---|
static interface |
GlobalTable.Builder |
Modifier and Type | Method and Description |
---|---|
static GlobalTable.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
globalTableName()
The global table name.
|
int |
hashCode() |
boolean |
hasReplicationGroup()
Returns true if the ReplicationGroup property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<Replica> |
replicationGroup()
The Regions where the global table has replicas.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GlobalTable.Builder> |
serializableBuilderClass() |
GlobalTable.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String globalTableName()
The global table name.
public final boolean hasReplicationGroup()
public final List<Replica> replicationGroup()
The Regions where the global table has replicas.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReplicationGroup()
to see if a value was sent in this field.
public GlobalTable.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GlobalTable.Builder,GlobalTable>
public static GlobalTable.Builder builder()
public static Class<? extends GlobalTable.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.