@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.ReplicationStartingPositionType
public String getType()
The type of replication starting position.
ReplicationStartingPositionType
public ReplicationStartingPosition withType(String type)
The type of replication starting position.
type
- The type of replication starting position.ReplicationStartingPositionType
public ReplicationStartingPosition withType(ReplicationStartingPositionType type)
The type of replication starting position.
type
- The type of replication starting position.ReplicationStartingPositionType
public String toString()
toString
in class Object
Object.toString()
public ReplicationStartingPosition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.