public class ReplicaUpdate
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.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 |
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 CreateReplicaAction getCreate()
The parameters required for creating a replica on an existing global table.
The parameters required for creating a replica on an existing global table.
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 ReplicaUpdate withCreate(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
Returns a reference to this object so that method calls can be chained together.
create
- The parameters required for creating a replica on an existing global table.
public DeleteReplicaAction getDelete()
The name of the existing replica to be removed.
The name of the existing replica to be removed.
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 ReplicaUpdate withDelete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
Returns a reference to this object so that method calls can be chained together.
delete
- The name of the existing replica to be removed.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.