public ActivityResponse withEnd(String end) {
        setEnd(end);
        return this;
    }
<p>
The actual time, in ISO 8601 format, when the activity was marked CANCELLED or COMPLETED.
</p>

@param end
       The actual time, in ISO 8601 format, when the activity was marked CANCELLED or COMPLETED.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ActivityResponse.java