public static interface EventFilter.Builder extends CopyableBuilder<EventFilter.Builder,EventFilter>
| Modifier and Type | Method and Description |
|---|---|
EventFilter.Builder |
availabilityZones(Collection<String> availabilityZones)
A list of AWS availability zones.
|
EventFilter.Builder |
availabilityZones(String... availabilityZones)
A list of AWS availability zones.
|
EventFilter.Builder |
endTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
|
EventFilter.Builder |
endTimes(Consumer<DateTimeRange.Builder>... endTimes)
A list of dates and times that the event ended.
|
EventFilter.Builder |
endTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
|
EventFilter.Builder |
entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
EventFilter.Builder |
entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
|
EventFilter.Builder |
entityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
EventFilter.Builder |
entityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
EventFilter.Builder |
eventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
EventFilter.Builder |
eventArns(String... eventArns)
A list of event ARNs (unique identifiers).
|
EventFilter.Builder |
eventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
|
EventFilter.Builder |
eventStatusCodes(String... eventStatusCodes)
A list of event status codes.
|
EventFilter.Builder |
eventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
EventFilter.Builder |
eventTypeCategories(String... eventTypeCategories)
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
EventFilter.Builder |
eventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types.
|
EventFilter.Builder |
eventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types.
|
EventFilter.Builder |
lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
regions(Collection<String> regions)
A list of AWS regions.
|
EventFilter.Builder |
regions(String... regions)
A list of AWS regions.
|
EventFilter.Builder |
services(Collection<String> services)
The AWS services associated with the event.
|
EventFilter.Builder |
services(String... services)
The AWS services associated with the event.
|
EventFilter.Builder |
startTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
|
EventFilter.Builder |
startTimes(Consumer<DateTimeRange.Builder>... startTimes)
A list of dates and times that the event began.
|
EventFilter.Builder |
startTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
|
EventFilter.Builder |
tags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
|
EventFilter.Builder |
tags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
|
copyapply, buildEventFilter.Builder eventArns(Collection<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"
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"EventFilter.Builder eventArns(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"
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"EventFilter.Builder eventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"EventFilter.Builder eventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"EventFilter.Builder services(Collection<String> services)
The AWS services associated with the event. For example, EC2, RDS.
services - The AWS services associated with the event. For example, EC2, RDS.EventFilter.Builder services(String... services)
The AWS services associated with the event. For example, EC2, RDS.
services - The AWS services associated with the event. For example, EC2, RDS.EventFilter.Builder regions(Collection<String> regions)
A list of AWS regions.
regions - A list of AWS regions.EventFilter.Builder regions(String... regions)
A list of AWS regions.
regions - A list of AWS regions.EventFilter.Builder availabilityZones(Collection<String> availabilityZones)
A list of AWS availability zones.
availabilityZones - A list of AWS availability zones.EventFilter.Builder availabilityZones(String... availabilityZones)
A list of AWS availability zones.
availabilityZones - A list of AWS availability zones.EventFilter.Builder startTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
startTimes - A list of dates and times that the event began.EventFilter.Builder startTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
startTimes - A list of dates and times that the event began.EventFilter.Builder startTimes(Consumer<DateTimeRange.Builder>... startTimes)
A list of dates and times that the event began.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #startTimes(List) .startTimes - a consumer that will call methods on List.Builder #startTimes(List) EventFilter.Builder endTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
endTimes - A list of dates and times that the event ended.EventFilter.Builder endTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
endTimes - A list of dates and times that the event ended.EventFilter.Builder endTimes(Consumer<DateTimeRange.Builder>... endTimes)
A list of dates and times that the event ended.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #endTimes(List) .endTimes - a consumer that will call methods on List.Builder #endTimes(List) EventFilter.Builder lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
lastUpdatedTimes - A list of dates and times that the event was last updated.EventFilter.Builder lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last updated.
lastUpdatedTimes - A list of dates and times that the event was last updated.EventFilter.Builder lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)
A list of dates and times that the event was last updated.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #lastUpdatedTimes(List) .lastUpdatedTimes - a consumer that will call methods on List.Builder #lastUpdatedTimes(List) EventFilter.Builder entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns - A list of entity ARNs (unique identifiers).EventFilter.Builder entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
entityArns - A list of entity ARNs (unique identifiers).EventFilter.Builder entityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).EventFilter.Builder entityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).EventFilter.Builder eventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes (issue, scheduledChange, or
accountNotification).
eventTypeCategories - A list of event type category codes (issue, scheduledChange, or
accountNotification).EventFilter.Builder eventTypeCategories(String... eventTypeCategories)
A list of event type category codes (issue, scheduledChange, or
accountNotification).
eventTypeCategories - A list of event type category codes (issue, scheduledChange, or
accountNotification).EventFilter.Builder tags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
tags - A map of entity tags attached to the affected entity.EventFilter.Builder tags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
tags - A map of entity tags attached to the affected entity.EventFilter.Builder eventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventFilter.Builder eventStatusCodes(String... eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.