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 ListPublicKeysRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Date
getEndTime()
Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files.String
getNextToken()
Reserved for future use.Date
getStartTime()
Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files.int
hashCode()
void
setEndTime(Date endTime)
Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files.void
setNextToken(String nextToken)
Reserved for future use.void
setStartTime(Date startTime)
Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListPublicKeysRequest
withEndTime(Date endTime)
Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files.ListPublicKeysRequest
withNextToken(String nextToken)
Reserved for future use.ListPublicKeysRequest
withStartTime(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-