public static interface EntityFilter.Builder extends CopyableBuilder<EntityFilter.Builder,EntityFilter>
Modifier and Type | Method and Description |
---|---|
EntityFilter.Builder |
entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
EntityFilter.Builder |
entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
|
EntityFilter.Builder |
entityValues(Collection<String> entityValues)
A list of IDs for affected entities.
|
EntityFilter.Builder |
entityValues(String... entityValues)
A list of IDs for affected entities.
|
EntityFilter.Builder |
eventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
EntityFilter.Builder |
eventArns(String... eventArns)
A list of event ARNs (unique identifiers).
|
EntityFilter.Builder |
lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
|
EntityFilter.Builder |
lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
|
EntityFilter.Builder |
lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
|
EntityFilter.Builder |
statusCodes(Collection<String> statusCodes)
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
EntityFilter.Builder |
statusCodes(String... statusCodes)
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
EntityFilter.Builder |
tags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
|
EntityFilter.Builder |
tags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
|
copy
apply, build
EntityFilter.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"
EntityFilter.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"
EntityFilter.Builder entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns
- A list of entity ARNs (unique identifiers).EntityFilter.Builder entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
entityArns
- A list of entity ARNs (unique identifiers).EntityFilter.Builder entityValues(Collection<String> entityValues)
A list of IDs for affected entities.
entityValues
- A list of IDs for affected entities.EntityFilter.Builder entityValues(String... entityValues)
A list of IDs for affected entities.
entityValues
- A list of IDs for affected entities.EntityFilter.Builder lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.EntityFilter.Builder lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.EntityFilter.Builder lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)
A list of the most recent dates and times that the entity was 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)
EntityFilter.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.EntityFilter.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.EntityFilter.Builder statusCodes(Collection<String> statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityFilter.Builder statusCodes(String... statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.