@Generated(value="software.amazon.awssdk:codegen") public final class ListTimelineEventsRequest extends SsmIncidentsRequest implements ToCopyableBuilder<ListTimelineEventsRequest.Builder,ListTimelineEventsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListTimelineEventsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListTimelineEventsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
Filters the timeline events based on the provided conditional values.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
For responses, this returns true if the service returned a value for the Filters property.
|
int |
hashCode() |
String |
incidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
Integer |
maxResults()
The maximum number of results per page.
|
String |
nextToken()
The pagination token to continue to the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListTimelineEventsRequest.Builder> |
serializableBuilderClass() |
TimelineEventSort |
sortBy()
Sort timeline events by the specified key value pair.
|
String |
sortByAsString()
Sort timeline events by the specified key value pair.
|
SortOrder |
sortOrder()
Sorts the order of timeline events by the value specified in the
sortBy field. |
String |
sortOrderAsString()
Sorts the order of timeline events by the value specified in the
sortBy field. |
ListTimelineEventsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasFilters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Filter> filters()
Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFilters() method.
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 final String incidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
public final Integer maxResults()
The maximum number of results per page.
public final String nextToken()
The pagination token to continue to the next page of results.
public final TimelineEventSort sortBy()
Sort timeline events by the specified key value pair.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return TimelineEventSort.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByAsString().
TimelineEventSortpublic final String sortByAsString()
Sort timeline events by the specified key value pair.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return TimelineEventSort.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByAsString().
TimelineEventSortpublic final SortOrder sortOrder()
Sorts the order of timeline events by the value specified in the sortBy field.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
sortBy field.SortOrderpublic final String sortOrderAsString()
Sorts the order of timeline events by the value specified in the sortBy field.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
sortBy field.SortOrderpublic ListTimelineEventsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListTimelineEventsRequest.Builder,ListTimelineEventsRequest>toBuilder in class SsmIncidentsRequestpublic static ListTimelineEventsRequest.Builder builder()
public static Class<? extends ListTimelineEventsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.