public class ListPublicKeysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListPublicKeys operation
.
Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.
NOTE:CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.
NOOP
Constructor and Description |
---|
ListPublicKeysRequest() |
Modifier and Type | Method and 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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public Date getStartTime()
public void setStartTime(Date startTime)
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.public ListPublicKeysRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
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.public Date getEndTime()
public void setEndTime(Date endTime)
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.public ListPublicKeysRequest withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
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.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- Reserved for future use.public ListPublicKeysRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- Reserved for future use.public String toString()
toString
in class Object
Object.toString()
public ListPublicKeysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.