public WorkflowStepMetadata withEndTime(String endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
The timestamp when the workflow step finished.
</p>

@param endTime
       The timestamp when the workflow step finished.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/WorkflowStepMetadata.java