@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationStartingPosition extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for specifying the position in the topics to start replicating from.
| Constructor and Description |
|---|
ReplicationStartingPosition() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationStartingPosition |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of replication starting position.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
The type of replication starting position.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationStartingPosition |
withType(ReplicationStartingPositionType type)
The type of replication starting position.
|
ReplicationStartingPosition |
withType(String type)
The type of replication starting position.
|
public void setType(String type)
The type of replication starting position.
type - The type of replication starting position.ReplicationStartingPositionTypepublic String getType()
The type of replication starting position.
ReplicationStartingPositionTypepublic ReplicationStartingPosition withType(String type)
The type of replication starting position.
type - The type of replication starting position.ReplicationStartingPositionTypepublic ReplicationStartingPosition withType(ReplicationStartingPositionType type)
The type of replication starting position.
type - The type of replication starting position.ReplicationStartingPositionTypepublic String toString()
toString in class ObjectObject.toString()public ReplicationStartingPosition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.