@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationGroupUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Represents one of the following:
A new replica to be added to an existing regional table or global table. This request invokes the
CreateTableReplica
action in the destination Region.
New parameters for an existing replica. This request invokes the UpdateTable
action in the destination
Region.
An existing replica to be deleted. The request invokes the DeleteTableReplica
action in the destination
Region, deleting the replica and all if its items in the destination Region.
When you manually remove a table or global table replica, you do not automatically remove any associated scalable targets, scaling policies, or CloudWatch alarms.
Constructor and Description |
---|
ReplicationGroupUpdate() |
Modifier and Type | Method and Description |
---|---|
ReplicationGroupUpdate |
clone() |
boolean |
equals(Object obj) |
CreateReplicationGroupMemberAction |
getCreate()
The parameters required for creating a replica for the table.
|
DeleteReplicationGroupMemberAction |
getDelete()
The parameters required for deleting a replica for the table.
|
UpdateReplicationGroupMemberAction |
getUpdate()
The parameters required for updating a replica for the table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreate(CreateReplicationGroupMemberAction create)
The parameters required for creating a replica for the table.
|
void |
setDelete(DeleteReplicationGroupMemberAction delete)
The parameters required for deleting a replica for the table.
|
void |
setUpdate(UpdateReplicationGroupMemberAction update)
The parameters required for updating a replica for the table.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationGroupUpdate |
withCreate(CreateReplicationGroupMemberAction create)
The parameters required for creating a replica for the table.
|
ReplicationGroupUpdate |
withDelete(DeleteReplicationGroupMemberAction delete)
The parameters required for deleting a replica for the table.
|
ReplicationGroupUpdate |
withUpdate(UpdateReplicationGroupMemberAction update)
The parameters required for updating a replica for the table.
|
public void setCreate(CreateReplicationGroupMemberAction create)
The parameters required for creating a replica for the table.
create
- The parameters required for creating a replica for the table.public CreateReplicationGroupMemberAction getCreate()
The parameters required for creating a replica for the table.
public ReplicationGroupUpdate withCreate(CreateReplicationGroupMemberAction create)
The parameters required for creating a replica for the table.
create
- The parameters required for creating a replica for the table.public void setUpdate(UpdateReplicationGroupMemberAction update)
The parameters required for updating a replica for the table.
update
- The parameters required for updating a replica for the table.public UpdateReplicationGroupMemberAction getUpdate()
The parameters required for updating a replica for the table.
public ReplicationGroupUpdate withUpdate(UpdateReplicationGroupMemberAction update)
The parameters required for updating a replica for the table.
update
- The parameters required for updating a replica for the table.public void setDelete(DeleteReplicationGroupMemberAction delete)
The parameters required for deleting a replica for the table.
delete
- The parameters required for deleting a replica for the table.public DeleteReplicationGroupMemberAction getDelete()
The parameters required for deleting a replica for the table.
public ReplicationGroupUpdate withDelete(DeleteReplicationGroupMemberAction delete)
The parameters required for deleting a replica for the table.
delete
- The parameters required for deleting a replica for the table.public String toString()
toString
in class Object
Object.toString()
public ReplicationGroupUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.