@Generated(value="software.amazon.awssdk:codegen") public final class ListIncidentRecordsRequest extends SsmIncidentsRequest implements ToCopyableBuilder<ListIncidentRecordsRequest.Builder,ListIncidentRecordsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListIncidentRecordsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListIncidentRecordsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
Filters the list of incident records you want to search through.
|
<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() |
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 ListIncidentRecordsRequest.Builder> |
serializableBuilderClass() |
ListIncidentRecordsRequest.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 list of incident records you want to search through. You can filter on the following keys:
creationTime
impact
status
createdBy
Note the following when when you use Filters:
If you don't specify a Filter, the response includes all incident records.
If you specify more than one filter in a single request, the response returns incident records that match all filters.
If you specify a filter with more than one value, the response returns incident records 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.
creationTime
impact
status
createdBy
Note the following when when you use Filters:
If you don't specify a Filter, the response includes all incident records.
If you specify more than one filter in a single request, the response returns incident records that match all filters.
If you specify a filter with more than one value, the response returns incident records that match any of the values provided.
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 ListIncidentRecordsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListIncidentRecordsRequest.Builder,ListIncidentRecordsRequest>toBuilder in class SsmIncidentsRequestpublic static ListIncidentRecordsRequest.Builder builder()
public static Class<? extends ListIncidentRecordsRequest.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.