public static interface EntityFilter.Builder extends SdkPojo, 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<EntityStatusCode> statusCodes)
A list of entity status codes (
IMPAIRED, UNIMPAIRED, or UNKNOWN). |
EntityFilter.Builder |
statusCodes(EntityStatusCode... statusCodes)
A list of entity status codes (
IMPAIRED, UNIMPAIRED, or UNKNOWN). |
EntityFilter.Builder |
statusCodesWithStrings(Collection<String> statusCodes)
A list of entity status codes (
IMPAIRED, UNIMPAIRED, or UNKNOWN). |
EntityFilter.Builder |
statusCodesWithStrings(String... statusCodes)
A list of entity status codes (
IMPAIRED, UNIMPAIRED, or UNKNOWN). |
EntityFilter.Builder |
tags(Collection<? extends 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEntityFilter.Builder eventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
eventArns - A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"EntityFilter.Builder eventArns(String... eventArns)
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
eventArns - A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"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 method that creates an instance of theDateTimeRange.Builder avoiding the need to create one
manually via DateTimeRange.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #lastUpdatedTimes(List.
lastUpdatedTimes - a consumer that will call methods on
DateTimeRange.Builder#lastUpdatedTimes(java.util.Collection) EntityFilter.Builder tags(Collection<? extends Map<String,String>> tags)
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
tags - A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
EntityFilter.Builder tags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
tags - A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
EntityFilter.Builder statusCodesWithStrings(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 statusCodesWithStrings(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(Collection<EntityStatusCode> 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(EntityStatusCode... statusCodes)
A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN).
statusCodes - A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN
).Copyright © 2022. All rights reserved.