public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp
after this time are not considered to generate a policy. If this is not included in the request, the default
value is the current time.
</p>

@param endTime
       The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a
       timestamp after this time are not considered to generate a policy. If this is not included in the request,
       the default value is the current time.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/CloudTrailProperties.java