public DescribeScheduledActionsRequest withEndTime(java.util.Date endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations
before this time are retrieved.
</p>

@param endTime
       The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have
       invocations before this time are retrieved.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/DescribeScheduledActionsRequest.java