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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListPublicKeysRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPublicKeysRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)DategetEndTime()Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files.StringgetNextToken()Reserved for future use.DategetStartTime()Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files.inthashCode()voidsetEndTime(Date endTime)Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files.voidsetNextToken(String nextToken)Reserved for future use.voidsetStartTime(Date startTime)Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListPublicKeysRequestwithEndTime(Date endTime)Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files.ListPublicKeysRequestwithNextToken(String nextToken)Reserved for future use.ListPublicKeysRequestwithStartTime(Date startTime)Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPublicKeysRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-