public Replication withTargetEndpointArn(String targetEndpointArn) {
        setTargetEndpointArn(targetEndpointArn);
        return this;
    }
<p>
The Amazon Resource Name for an existing <code>Endpoint</code> the serverless replication uses for its data
target.
</p>

@param targetEndpointArn
       The Amazon Resource Name for an existing <code>Endpoint</code> the serverless replication uses for its
       data target.
@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/Replication.java