public EcsParameters withReferenceId(String referenceId) {
        setReferenceId(referenceId);
        return this;
    }
<p>
The reference ID to use for the task.
</p>

@param referenceId
       The reference ID to use for the task.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java