@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 boolean hasEventArns()
public 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 boolean hasEventTypeCodes()
public 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 boolean hasServices()
public 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 boolean hasRegions()
public 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 boolean hasAvailabilityZones()
public 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 boolean hasStartTimes()
public 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 boolean hasEndTimes()
public 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 boolean hasLastUpdatedTimes()
public 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 boolean hasEntityArns()
public 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 boolean hasEntityValues()
public 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 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 boolean hasEventTypeCategories()
public 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 boolean hasTags()
public 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 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 boolean hasEventStatusCodes()
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.