StructuredPojo
, ToCopyableBuilder<EventFilter.Builder,EventFilter>
@Generated("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 | Description |
---|---|---|
static interface |
EventFilter.Builder |
Modifier and Type | Method | 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<String> |
eventStatusCodes() |
A list of event status codes.
|
List<String> |
eventTypeCategories() |
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
List<String> |
eventTypeCodes() |
A list of unique identifiers for event types.
|
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() |
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"
"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"
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"
public List<String> services()
The AWS services associated with the event. For example, EC2
, RDS
.
EC2
, RDS
.public List<String> availabilityZones()
A list of AWS availability zones.
public List<DateTimeRange> startTimes()
A list of dates and times that the event began.
public List<DateTimeRange> endTimes()
A list of dates and times that the event ended.
public List<DateTimeRange> lastUpdatedTimes()
A list of dates and times that the event was last updated.
public List<String> entityArns()
A list of entity ARNs (unique identifiers).
public List<String> entityValues()
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e
) or EBS volumes (
vol-426ab23e
).
i-34ab692e
) or EBS volumes (
vol-426ab23e
).public List<String> eventTypeCategories()
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
public List<Map<String,String>> tags()
A map of entity tags attached to the affected entity.
public List<String> eventStatusCodes()
A list of event status codes.
EventStatusCode
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.