public ListPublicKeysRequest withEndTime(java.util.Date endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If
not specified, the current time is used.
</p>

@param endTime
       Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest
       files. If not specified, the current time is used.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/ListPublicKeysRequest.java