public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
<p>
The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For
example, 2015-01-01T20:00:00.
</p>

@param endDate
       The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601
       format). For example, 2015-01-01T20:00:00.
aws-java-sdk-forecastquery/src/main/java/com/amazonaws/services/forecastquery/model/QueryForecastRequest.java