@Generated(value="software.amazon.awssdk:codegen") public final class EventFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventFilter.Builder,EventFilter>
The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
availabilityZones()
A list of AWS Availability Zones.
|
static EventFilter.Builder |
builder() |
List<DateTimeRange> |
endTimes()
A list of dates and times that the event ended.
|
List<String> |
entityArns()
A list of entity ARNs (unique identifiers).
|
List<String> |
entityValues()
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
eventArns()
A list of event ARNs (unique identifiers).
|
List<EventStatusCode> |
eventStatusCodes()
A list of event status codes.
|
List<String> |
eventStatusCodesAsStrings()
A list of event status codes.
|
List<EventTypeCategory> |
eventTypeCategories()
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
List<String> |
eventTypeCategoriesAsStrings()
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
List<String> |
eventTypeCodes()
A list of unique identifiers for event types.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailabilityZones()
Returns true if the AvailabilityZones property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasEndTimes()
Returns true if the EndTimes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasEntityArns()
Returns true if the EntityArns property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasEntityValues()
Returns true if the EntityValues property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasEventArns()
Returns true if the EventArns property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasEventStatusCodes()
Returns true if the EventStatusCodes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasEventTypeCategories()
Returns true if the EventTypeCategories property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasEventTypeCodes()
Returns true if the EventTypeCodes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasLastUpdatedTimes()
Returns true if the LastUpdatedTimes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasRegions()
Returns true if the Regions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasServices()
Returns true if the Services property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasStartTimes()
Returns true if the StartTimes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<DateTimeRange> |
lastUpdatedTimes()
A list of dates and times that the event was last updated.
|
List<String> |
regions()
A list of AWS Regions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventFilter.Builder> |
serializableBuilderClass() |
List<String> |
services()
The AWS services associated with the event.
|
List<DateTimeRange> |
startTimes()
A list of dates and times that the event began.
|
List<Map<String,String>> |
tags()
A map of entity tags attached to the affected entity.
|
EventFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasEventArns()
public final List<String> eventArns()
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventArns() to see if a value was sent in this field.
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"public final boolean hasEventTypeCodes()
public final List<String> eventTypeCodes()
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventTypeCodes() to see if a value was sent in this field.
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".public final boolean hasServices()
public final List<String> services()
The AWS services associated with the event. For example, EC2, RDS.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasServices() to see if a value was sent in this field.
EC2, RDS.public final boolean hasRegions()
public final List<String> regions()
A list of AWS Regions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRegions() to see if a value was sent in this field.
public final boolean hasAvailabilityZones()
public final List<String> availabilityZones()
A list of AWS Availability Zones.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailabilityZones() to see if a value was sent in this field.
public final boolean hasStartTimes()
public final List<DateTimeRange> startTimes()
A list of dates and times that the event began.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStartTimes() to see if a value was sent in this field.
public final boolean hasEndTimes()
public final List<DateTimeRange> endTimes()
A list of dates and times that the event ended.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEndTimes() to see if a value was sent in this field.
public final boolean hasLastUpdatedTimes()
public final List<DateTimeRange> lastUpdatedTimes()
A list of dates and times that the event was last updated.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLastUpdatedTimes() to see if a value was sent in this field.
public final boolean hasEntityArns()
public final List<String> entityArns()
A list of entity ARNs (unique identifiers).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntityArns() to see if a value was sent in this field.
public final boolean hasEntityValues()
public final List<String> entityValues()
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntityValues() to see if a value was sent in this field.
i-34ab692e) or EBS volumes (
vol-426ab23e).public final List<EventTypeCategory> eventTypeCategories()
A list of event type category codes (issue, scheduledChange, or
accountNotification).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventTypeCategories() to see if a value was sent in this field.
issue, scheduledChange, or
accountNotification).public final boolean hasEventTypeCategories()
public final List<String> eventTypeCategoriesAsStrings()
A list of event type category codes (issue, scheduledChange, or
accountNotification).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventTypeCategories() to see if a value was sent in this field.
issue, scheduledChange, or
accountNotification).public final boolean hasTags()
public final List<Map<String,String>> tags()
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
Currently, the tags property isn't supported.
public final List<EventStatusCode> eventStatusCodes()
A list of event status codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventStatusCodes() to see if a value was sent in this field.
public final boolean hasEventStatusCodes()
public final List<String> eventStatusCodesAsStrings()
A list of event status codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventStatusCodes() to see if a value was sent in this field.
public EventFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventFilter.Builder,EventFilter>public static EventFilter.Builder builder()
public static Class<? extends EventFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.