@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Endpoints can replicate all events to the secondary Region.
| Constructor and Description |
|---|
ReplicationConfig() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of event replication.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setState(String state)
The state of event replication.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationConfig |
withState(ReplicationState state)
The state of event replication.
|
ReplicationConfig |
withState(String state)
The state of event replication.
|
public void setState(String state)
The state of event replication.
state - The state of event replication.ReplicationStatepublic String getState()
The state of event replication.
ReplicationStatepublic ReplicationConfig withState(String state)
The state of event replication.
state - The state of event replication.ReplicationStatepublic ReplicationConfig withState(ReplicationState state)
The state of event replication.
state - The state of event replication.ReplicationStatepublic String toString()
toString in class ObjectObject.toString()public ReplicationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.