CopyableBuilder<EventFilter.Builder,EventFilter>
, SdkBuilder<EventFilter.Builder,EventFilter>
public static interface EventFilter.Builder extends CopyableBuilder<EventFilter.Builder,EventFilter>
Modifier and Type | Method | Description |
---|---|---|
EventFilter.Builder |
availabilityZones(String... availabilityZones) |
A list of AWS availability zones.
|
EventFilter.Builder |
availabilityZones(Collection<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(DateTimeRange... endTimes) |
A list of dates and times that the event ended.
|
EventFilter.Builder |
entityArns(String... entityArns) |
A list of entity ARNs (unique identifiers).
|
EventFilter.Builder |
entityArns(Collection<String> entityArns) |
A list of entity ARNs (unique identifiers).
|
EventFilter.Builder |
entityValues(String... entityValues) |
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e ) or EBS volumes (
vol-426ab23e ). |
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 |
eventArns(String... eventArns) |
A list of event ARNs (unique identifiers).
|
EventFilter.Builder |
eventArns(Collection<String> eventArns) |
A list of event ARNs (unique identifiers).
|
EventFilter.Builder |
eventStatusCodes(String... eventStatusCodes) |
A list of event status codes.
|
EventFilter.Builder |
eventStatusCodes(Collection<String> eventStatusCodes) |
A list of event status codes.
|
EventFilter.Builder |
eventStatusCodes(EventStatusCode... eventStatusCodes) |
A list of event status codes.
|
EventFilter.Builder |
eventTypeCategories(String... eventTypeCategories) |
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
EventFilter.Builder |
eventTypeCategories(Collection<String> eventTypeCategories) |
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
EventFilter.Builder |
eventTypeCategories(EventTypeCategory... eventTypeCategories) |
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
EventFilter.Builder |
eventTypeCodes(String... eventTypeCodes) |
A list of unique identifiers for event types.
|
EventFilter.Builder |
eventTypeCodes(Collection<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(DateTimeRange... lastUpdatedTimes) |
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
regions(String... regions) |
A list of AWS regions.
|
EventFilter.Builder |
regions(Collection<String> regions) |
A list of AWS regions.
|
EventFilter.Builder |
services(String... services) |
The AWS services associated with the event.
|
EventFilter.Builder |
services(Collection<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(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.
|
copy
apply, build
EventFilter.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"
NOTE: This method appends the values to the existing list (if any). Use
#setEventArns(java.util.Collection)
or #withEventArns(java.util.Collection)
if you want to
override the existing values.
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"
NOTE: This method appends the values to the existing list (if any). Use
#setEventTypeCodes(java.util.Collection)
or #withEventTypeCodes(java.util.Collection)
if you
want to override the existing values.
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
.
NOTE: This method appends the values to the existing list (if any). Use
#setServices(java.util.Collection)
or #withServices(java.util.Collection)
if you want to
override the existing values.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setRegions(java.util.Collection)
or #withRegions(java.util.Collection)
if you want to
override the existing values.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setAvailabilityZones(java.util.Collection)
or #withAvailabilityZones(java.util.Collection)
if you want to override the existing values.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setStartTimes(java.util.Collection)
or #withStartTimes(java.util.Collection)
if you want to
override the existing values.
startTimes
- A list of dates and times that the event began.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.
NOTE: This method appends the values to the existing list (if any). Use
#setEndTimes(java.util.Collection)
or #withEndTimes(java.util.Collection)
if you want to
override the existing values.
endTimes
- A list of dates and times that the event ended.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.
NOTE: This method appends the values to the existing list (if any). Use
#setLastUpdatedTimes(java.util.Collection)
or #withLastUpdatedTimes(java.util.Collection)
if
you want to override the existing values.
lastUpdatedTimes
- A list of dates and times that the event was last updated.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).
NOTE: This method appends the values to the existing list (if any). Use
#setEntityArns(java.util.Collection)
or #withEntityArns(java.util.Collection)
if you want to
override the existing values.
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
).
NOTE: This method appends the values to the existing list (if any). Use
#setEntityValues(java.util.Collection)
or #withEntityValues(java.util.Collection)
if you want
to override the existing values.
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
).EventTypeCategory
EventFilter.Builder eventTypeCategories(String... eventTypeCategories)
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
NOTE: This method appends the values to the existing list (if any). Use
#setEventTypeCategories(java.util.Collection)
or
#withEventTypeCategories(java.util.Collection)
if you want to override the existing values.
eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
EventFilter.Builder eventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
NOTE: This method appends the values to the existing list (if any). Use
#setEventTypeCategories(java.util.Collection)
or
#withEventTypeCategories(java.util.Collection)
if you want to override the existing values.
eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
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.EventStatusCode
EventFilter.Builder eventStatusCodes(String... eventStatusCodes)
A list of event status codes.
NOTE: This method appends the values to the existing list (if any). Use
#setEventStatusCodes(java.util.Collection)
or #withEventStatusCodes(java.util.Collection)
if
you want to override the existing values.
eventStatusCodes
- A list of event status codes.EventStatusCode
EventFilter.Builder eventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
NOTE: This method appends the values to the existing list (if any). Use
#setEventStatusCodes(java.util.Collection)
or #withEventStatusCodes(java.util.Collection)
if
you want to override the existing values.
eventStatusCodes
- A list of event status codes.EventStatusCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.