public ReplicationStartingPosition withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of replication starting position.
</p>

@param type
       The type of replication starting position.
@return Returns a reference to this object so that method calls can be chained together.
@see ReplicationStartingPositionType
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ReplicationStartingPosition.java