@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LookupEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains a request for LookupEvents.
NOOP
Constructor and Description |
---|
LookupEventsRequest() |
Modifier and Type | Method and Description |
---|---|
LookupEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
Specifies that only events that occur before or at the specified time are returned.
|
String |
getEventCategory()
Specifies the event category.
|
List<LookupAttribute> |
getLookupAttributes()
Contains a list of lookup attributes.
|
Integer |
getMaxResults()
The number of events to return.
|
String |
getNextToken()
The token to use to get the next page of results after a previous API call.
|
Date |
getStartTime()
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 |
setEventCategory(String eventCategory)
Specifies the event category.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
LookupEventsRequest |
withEndTime(Date endTime)
Specifies that only events that occur before or at the specified time are returned.
|
LookupEventsRequest |
withEventCategory(EventCategory eventCategory)
Specifies the event category.
|
LookupEventsRequest |
withEventCategory(String eventCategory)
Specifies the event category.
|
LookupEventsRequest |
withLookupAttributes(Collection<LookupAttribute> lookupAttributes)
Contains a list of lookup attributes.
|
LookupEventsRequest |
withLookupAttributes(LookupAttribute... lookupAttributes)
Contains a list of lookup attributes.
|
LookupEventsRequest |
withMaxResults(Integer maxResults)
The number of events to return.
|
LookupEventsRequest |
withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
LookupEventsRequest |
withStartTime(Date startTime)
Specifies that only events that occur after or at the specified time are returned.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<LookupAttribute> getLookupAttributes()
Contains a list of lookup attributes. Currently the list can contain only one item.
public void setLookupAttributes(Collection<LookupAttribute> lookupAttributes)
Contains a list of lookup attributes. Currently the list can contain only one item.
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.public LookupEventsRequest withLookupAttributes(LookupAttribute... lookupAttributes)
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)
or withLookupAttributes(java.util.Collection)
if you
want to override the existing values.
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.public LookupEventsRequest withLookupAttributes(Collection<LookupAttribute> lookupAttributes)
Contains a list of lookup attributes. Currently the list can contain only one item.
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.public void setStartTime(Date 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.
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.public Date 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.
public LookupEventsRequest withStartTime(Date 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.
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.public void setEndTime(Date 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.
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.public Date 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.
public LookupEventsRequest withEndTime(Date 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.
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.public void setEventCategory(String eventCategory)
Specifies the event category. If you do not specify an event category, events of the category are not returned in
the response. For example, if you do not specify insight
as the value of EventCategory
,
no Insights events are returned.
eventCategory
- Specifies the event category. If you do not specify an event category, events of the category are not
returned in the response. For example, if you do not specify insight
as the value of
EventCategory
, no Insights events are returned.EventCategory
public String getEventCategory()
Specifies the event category. If you do not specify an event category, events of the category are not returned in
the response. For example, if you do not specify insight
as the value of EventCategory
,
no Insights events are returned.
insight
as the value of
EventCategory
, no Insights events are returned.EventCategory
public LookupEventsRequest withEventCategory(String eventCategory)
Specifies the event category. If you do not specify an event category, events of the category are not returned in
the response. For example, if you do not specify insight
as the value of EventCategory
,
no Insights events are returned.
eventCategory
- Specifies the event category. If you do not specify an event category, events of the category are not
returned in the response. For example, if you do not specify insight
as the value of
EventCategory
, no Insights events are returned.EventCategory
public LookupEventsRequest withEventCategory(EventCategory eventCategory)
Specifies the event category. If you do not specify an event category, events of the category are not returned in
the response. For example, if you do not specify insight
as the value of EventCategory
,
no Insights events are returned.
eventCategory
- Specifies the event category. If you do not specify an event category, events of the category are not
returned in the response. For example, if you do not specify insight
as the value of
EventCategory
, no Insights events are returned.EventCategory
public void setMaxResults(Integer maxResults)
The number of events to return. Possible values are 1 through 50. The default is 50.
maxResults
- The number of events to return. Possible values are 1 through 50. The default is 50.public Integer getMaxResults()
The number of events to return. Possible values are 1 through 50. The default is 50.
public LookupEventsRequest withMaxResults(Integer maxResults)
The number of events to return. Possible values are 1 through 50. The default is 50.
maxResults
- The number of events to return. Possible values are 1 through 50. The default is 50.public void setNextToken(String 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 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.
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 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.public String 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 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.
public LookupEventsRequest withNextToken(String 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 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.
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 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.public String toString()
toString
in class Object
Object.toString()
public LookupEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()