Class ListPublicKeysRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudtrail.model.ListPublicKeysRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListPublicKeysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Requests the public keys for a specified time range.

See Also:
  • Constructor Details

    • ListPublicKeysRequest

      public ListPublicKeysRequest()
  • Method Details

    • setStartTime

      public void setStartTime(Date startTime)

      Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.

      Parameters:
      startTime - Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
    • getStartTime

      public Date getStartTime()

      Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.

      Returns:
      Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
    • withStartTime

      public ListPublicKeysRequest withStartTime(Date startTime)

      Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.

      Parameters:
      startTime - Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEndTime

      public void setEndTime(Date 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.

      Parameters:
      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.
    • getEndTime

      public Date getEndTime()

      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.

      Returns:
      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.
    • withEndTime

      public ListPublicKeysRequest withEndTime(Date 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      Reserved for future use.

      Parameters:
      nextToken - Reserved for future use.
    • getNextToken

      public String getNextToken()

      Reserved for future use.

      Returns:
      Reserved for future use.
    • withNextToken

      public ListPublicKeysRequest withNextToken(String nextToken)

      Reserved for future use.

      Parameters:
      nextToken - Reserved for future use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListPublicKeysRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: