@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTimelineEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTimelineEventsRequest() |
Modifier and Type | Method and Description |
---|---|
ListTimelineEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
Filters the timeline events based on the provided conditional values.
|
String |
getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
Integer |
getMaxResults()
The maximum number of results per page.
|
String |
getNextToken()
The pagination token for the next set of items to return.
|
String |
getSortBy()
Sort timeline events by the specified key value pair.
|
String |
getSortOrder()
Sorts the order of timeline events by the value specified in the
sortBy field. |
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
Filters the timeline events based on the provided conditional values.
|
void |
setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results per page.
|
void |
setNextToken(String nextToken)
The pagination token for the next set of items to return.
|
void |
setSortBy(String sortBy)
Sort timeline events by the specified key value pair.
|
void |
setSortOrder(String sortOrder)
Sorts the order of timeline events by the value specified in the
sortBy field. |
String |
toString()
Returns a string representation of this object.
|
ListTimelineEventsRequest |
withFilters(Collection<Filter> filters)
Filters the timeline events based on the provided conditional values.
|
ListTimelineEventsRequest |
withFilters(Filter... filters)
Filters the timeline events based on the provided conditional values.
|
ListTimelineEventsRequest |
withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
ListTimelineEventsRequest |
withMaxResults(Integer maxResults)
The maximum number of results per page.
|
ListTimelineEventsRequest |
withNextToken(String nextToken)
The pagination token for the next set of items to return.
|
ListTimelineEventsRequest |
withSortBy(String sortBy)
Sort timeline events by the specified key value pair.
|
ListTimelineEventsRequest |
withSortBy(TimelineEventSort sortBy)
Sort timeline events by the specified key value pair.
|
ListTimelineEventsRequest |
withSortOrder(SortOrder sortOrder)
Sorts the order of timeline events by the value specified in the
sortBy field. |
ListTimelineEventsRequest |
withSortOrder(String sortOrder)
Sorts the order of timeline events by the value specified in the
sortBy field. |
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<Filter> getFilters()
Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
public void setFilters(Collection<Filter> filters)
Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
filters
- Filters the timeline events based on the provided conditional values. You can filter timeline events with
the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
public ListTimelineEventsRequest withFilters(Filter... filters)
Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Filters the timeline events based on the provided conditional values. You can filter timeline events with
the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
public ListTimelineEventsRequest withFilters(Collection<Filter> filters)
Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
filters
- Filters the timeline events based on the provided conditional values. You can filter timeline events with
the following keys:
eventReference
eventTime
eventType
Note the following when deciding how to use Filters:
If you don't specify a Filter, the response includes all timeline events.
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
public void setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that includes the timeline event.public String getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
public ListTimelineEventsRequest withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that includes the timeline event.public void setMaxResults(Integer maxResults)
The maximum number of results per page.
maxResults
- The maximum number of results per page.public Integer getMaxResults()
The maximum number of results per page.
public ListTimelineEventsRequest withMaxResults(Integer maxResults)
The maximum number of results per page.
maxResults
- The maximum number of results per page.public void setNextToken(String nextToken)
The pagination token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The pagination token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The pagination token for the next set of items to return. (You received this token from a previous call.)
public ListTimelineEventsRequest withNextToken(String nextToken)
The pagination token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The pagination token for the next set of items to return. (You received this token from a previous call.)public void setSortBy(String sortBy)
Sort timeline events by the specified key value pair.
sortBy
- Sort timeline events by the specified key value pair.TimelineEventSort
public String getSortBy()
Sort timeline events by the specified key value pair.
TimelineEventSort
public ListTimelineEventsRequest withSortBy(String sortBy)
Sort timeline events by the specified key value pair.
sortBy
- Sort timeline events by the specified key value pair.TimelineEventSort
public ListTimelineEventsRequest withSortBy(TimelineEventSort sortBy)
Sort timeline events by the specified key value pair.
sortBy
- Sort timeline events by the specified key value pair.TimelineEventSort
public void setSortOrder(String sortOrder)
Sorts the order of timeline events by the value specified in the sortBy
field.
sortOrder
- Sorts the order of timeline events by the value specified in the sortBy
field.SortOrder
public String getSortOrder()
Sorts the order of timeline events by the value specified in the sortBy
field.
sortBy
field.SortOrder
public ListTimelineEventsRequest withSortOrder(String sortOrder)
Sorts the order of timeline events by the value specified in the sortBy
field.
sortOrder
- Sorts the order of timeline events by the value specified in the sortBy
field.SortOrder
public ListTimelineEventsRequest withSortOrder(SortOrder sortOrder)
Sorts the order of timeline events by the value specified in the sortBy
field.
sortOrder
- Sorts the order of timeline events by the value specified in the sortBy
field.SortOrder
public String toString()
toString
in class Object
Object.toString()
public ListTimelineEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()