Class LookupEventsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains a request for LookupEvents.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Specifies that only events that occur before or at the specified time are returned.Contains a list of lookup attributes.The number of events to return.The token to use to get the next page of results after a previous API call.Specifies that only events that occur after or at the specified time are returned.int
hashCode()
void
setEndTime
(Date endTime) Specifies that only events that occur before or at the specified time are returned.void
setLookupAttributes
(Collection<LookupAttribute> lookupAttributes) Contains a list of lookup attributes.void
setMaxResults
(Integer maxResults) The number of events to return.void
setNextToken
(String nextToken) The token to use to get the next page of results after a previous API call.void
setStartTime
(Date startTime) Specifies that only events that occur after or at the specified time are returned.toString()
Returns a string representation of this object; useful for testing and debugging.withEndTime
(Date endTime) Specifies that only events that occur before or at the specified time are returned.withLookupAttributes
(LookupAttribute... lookupAttributes) Contains a list of lookup attributes.withLookupAttributes
(Collection<LookupAttribute> lookupAttributes) Contains a list of lookup attributes.withMaxResults
(Integer maxResults) The number of events to return.withNextToken
(String nextToken) The token to use to get the next page of results after a previous API call.withStartTime
(Date startTime) Specifies that only events that occur after or at the specified time are returned.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
-
Constructor Details
-
LookupEventsRequest
public LookupEventsRequest()
-
-
Method Details
-
getLookupAttributes
Contains a list of lookup attributes. Currently the list can contain only one item.
- Returns:
- Contains a list of lookup attributes. Currently the list can contain only one item.
-
setLookupAttributes
Contains a list of lookup attributes. Currently the list can contain only one item.
- Parameters:
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.
-
withLookupAttributes
Contains a list of lookup attributes. Currently the list can contain only one item.
NOTE: This method appends the values to the existing list (if any). Use
setLookupAttributes(java.util.Collection)
orwithLookupAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLookupAttributes
Contains a list of lookup attributes. Currently the list can contain only one item.
- Parameters:
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTime
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
- Parameters:
startTime
- Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
-
getStartTime
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
- Returns:
- Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
-
withStartTime
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
- Parameters:
startTime
- Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndTime
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
- Parameters:
endTime
- Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
-
getEndTime
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
- Returns:
- Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
-
withEndTime
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
- Parameters:
endTime
- Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
The number of events to return. Possible values are 1 through 50. The default is 10.
- Parameters:
maxResults
- The number of events to return. Possible values are 1 through 50. The default is 10.
-
getMaxResults
The number of events to return. Possible values are 1 through 50. The default is 10.
- Returns:
- The number of events to return. Possible values are 1 through 50. The default is 10.
-
withMaxResults
The number of events to return. Possible values are 1 through 50. The default is 10.
- Parameters:
maxResults
- The number of events to return. Possible values are 1 through 50. The default is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
- Parameters:
nextToken
- The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
-
getNextToken
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
- Returns:
- The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
-
withNextToken
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
- Parameters:
nextToken
- The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-