Class ReplicaUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.ReplicaUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicaUpdate.Builder,ReplicaUpdate>
@Generated("software.amazon.awssdk:codegen") public final class ReplicaUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicaUpdate.Builder,ReplicaUpdate>
Represents one of the following:
-
A new replica to be added to an existing global table.
-
New parameters for an existing replica.
-
An existing replica to be removed from an existing global table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicaUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicaUpdate.Builderbuilder()CreateReplicaActioncreate()The parameters required for creating a replica on an existing global table.DeleteReplicaActiondelete()The name of the existing replica to be removed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReplicaUpdate.Builder>serializableBuilderClass()ReplicaUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
create
public final CreateReplicaAction create()
The parameters required for creating a replica on an existing global table.
- Returns:
- The parameters required for creating a replica on an existing global table.
-
delete
public final DeleteReplicaAction delete()
The name of the existing replica to be removed.
- Returns:
- The name of the existing replica to be removed.
-
toBuilder
public ReplicaUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicaUpdate.Builder,ReplicaUpdate>
-
builder
public static ReplicaUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicaUpdate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-