public CreateReplicationTaskRequest withReplicationTaskIdentifier(String replicationTaskIdentifier) {
        setReplicationTaskIdentifier(replicationTaskIdentifier);
        return this;
    }
<p>
An identifier for the replication task.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
Must contain 1-255 alphanumeric characters or hyphens.
</p>
</li>
<li>
<p>
First character must be a letter.
</p>
</li>
<li>
<p>
Cannot end with a hyphen or contain two consecutive hyphens.
</p>
</li>
</ul>

@param replicationTaskIdentifier
       An identifier for the replication task.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       Must contain 1-255 alphanumeric characters or hyphens.
       </p>
       </li>
       <li>
       <p>
       First character must be a letter.
       </p>
       </li>
       <li>
       <p>
       Cannot end with a hyphen or contain two consecutive hyphens.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/CreateReplicationTaskRequest.java