@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaUpdate extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ReplicaUpdate() |
Modifier and Type | Method and Description |
---|---|
ReplicaUpdate |
clone() |
boolean |
equals(Object obj) |
CreateReplicaAction |
getCreate()
The parameters required for creating a replica on an existing global table.
|
DeleteReplicaAction |
getDelete()
The name of the existing replica to be removed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreate(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
|
void |
setDelete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
|
String |
toString()
Returns a string representation of this object.
|
ReplicaUpdate |
withCreate(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
|
ReplicaUpdate |
withDelete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
|
public void setCreate(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
create
- The parameters required for creating a replica on an existing global table.public CreateReplicaAction getCreate()
The parameters required for creating a replica on an existing global table.
public ReplicaUpdate withCreate(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
create
- The parameters required for creating a replica on an existing global table.public void setDelete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
delete
- The name of the existing replica to be removed.public DeleteReplicaAction getDelete()
The name of the existing replica to be removed.
public ReplicaUpdate withDelete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
delete
- The name of the existing replica to be removed.public String toString()
toString
in class Object
Object.toString()
public ReplicaUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.