CopyableBuilder<EntityFilter.Builder,EntityFilter>
, SdkBuilder<EntityFilter.Builder,EntityFilter>
public static interface EntityFilter.Builder extends CopyableBuilder<EntityFilter.Builder,EntityFilter>
Modifier and Type | Method | Description |
---|---|---|
EntityFilter.Builder |
entityArns(String... entityArns) |
A list of entity ARNs (unique identifiers).
|
EntityFilter.Builder |
entityArns(Collection<String> entityArns) |
A list of entity ARNs (unique identifiers).
|
EntityFilter.Builder |
entityValues(String... entityValues) |
A list of IDs for affected entities.
|
EntityFilter.Builder |
entityValues(Collection<String> entityValues) |
A list of IDs for affected entities.
|
EntityFilter.Builder |
eventArns(String... eventArns) |
A list of event ARNs (unique identifiers).
|
EntityFilter.Builder |
eventArns(Collection<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(DateTimeRange... lastUpdatedTimes) |
A list of the most recent dates and times that the entity was updated.
|
EntityFilter.Builder |
statusCodes(String... statusCodes) |
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
EntityFilter.Builder |
statusCodes(Collection<String> 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 |
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"
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"
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).
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).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.
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 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.
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 the most recent dates and times that the entity was updated.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.
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.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
).EntityStatusCode
EntityFilter.Builder statusCodes(String... statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
NOTE: This method appends the values to the existing list (if any). Use
#setStatusCodes(java.util.Collection)
or #withStatusCodes(java.util.Collection)
if you want
to override the existing values.
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
EntityFilter.Builder statusCodes(EntityStatusCode... statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
NOTE: This method appends the values to the existing list (if any). Use
#setStatusCodes(java.util.Collection)
or #withStatusCodes(java.util.Collection)
if you want
to override the existing values.
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.