@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.ReplicationState
public String getState()
The state of event replication.
ReplicationState
public ReplicationConfig withState(String state)
The state of event replication.
state
- The state of event replication.ReplicationState
public ReplicationConfig withState(ReplicationState state)
The state of event replication.
state
- The state of event replication.ReplicationState
public String toString()
toString
in class Object
Object.toString()
public ReplicationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.