@Generated(value="software.amazon.awssdk:codegen") public class EventFilter extends Object implements StructuredPojo, 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) |
List<String> |
eventArns()
A list of event ARNs (unique identifiers).
|
List<EventStatusCode> |
eventStatusCodes()
A list of event status codes.
|
List<String> |
eventStatusCodesStrings()
A list of event status codes.
|
List<EventTypeCategory> |
eventTypeCategories()
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
List<String> |
eventTypeCategoriesStrings()
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) |
int |
hashCode() |
List<DateTimeRange> |
lastUpdatedTimes()
A list of dates and times that the event was last updated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
regions()
A list of AWS regions.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<String> eventArns()
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"
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.
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"
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.
EC2
, RDS
.public List<String> regions()
A list of AWS regions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> availabilityZones()
A list of AWS availability zones.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
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.
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.
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.
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.
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.
issue
, scheduledChange
, or
accountNotification
).public List<String> eventTypeCategoriesStrings()
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.
issue
, scheduledChange
, or
accountNotification
).public List<Map<String,String>> tags()
A map of entity tags attached to the affected entity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<EventStatusCode> eventStatusCodes()
A list of event status codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> eventStatusCodesStrings()
A list of event status codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EventFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventFilter.Builder,EventFilter>
public static EventFilter.Builder builder()
public static Class<? extends EventFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.