Interface EntityFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EntityFilter.Builder,EntityFilter>,SdkBuilder<EntityFilter.Builder,EntityFilter>,SdkPojo
- Enclosing class:
- EntityFilter
public static interface EntityFilter.Builder extends SdkPojo, CopyableBuilder<EntityFilter.Builder,EntityFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityFilter.BuilderentityArns(String... entityArns)A list of entity ARNs (unique identifiers).EntityFilter.BuilderentityArns(Collection<String> entityArns)A list of entity ARNs (unique identifiers).EntityFilter.BuilderentityValues(String... entityValues)A list of IDs for affected entities.EntityFilter.BuilderentityValues(Collection<String> entityValues)A list of IDs for affected entities.EntityFilter.BuildereventArns(String... eventArns)A list of event ARNs (unique identifiers).EntityFilter.BuildereventArns(Collection<String> eventArns)A list of event ARNs (unique identifiers).EntityFilter.BuilderlastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)A list of the most recent dates and times that the entity was updated.EntityFilter.BuilderlastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)A list of the most recent dates and times that the entity was updated.EntityFilter.BuilderlastUpdatedTimes(DateTimeRange... lastUpdatedTimes)A list of the most recent dates and times that the entity was updated.EntityFilter.BuilderstatusCodes(Collection<EntityStatusCode> statusCodes)A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).EntityFilter.BuilderstatusCodes(EntityStatusCode... statusCodes)A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).EntityFilter.BuilderstatusCodesWithStrings(String... statusCodes)A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).EntityFilter.BuilderstatusCodesWithStrings(Collection<String> statusCodes)A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).EntityFilter.Buildertags(Collection<? extends Map<String,String>> tags)A map of entity tags attached to the affected entity.EntityFilter.Buildertags(Map<String,String>... tags)A map of entity tags attached to the affected entity.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
eventArns
EntityFilter.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"- Parameters:
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"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventArns
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"- Parameters:
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"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityArns
EntityFilter.Builder entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
- Parameters:
entityArns- A list of entity ARNs (unique identifiers).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityArns
EntityFilter.Builder entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
- Parameters:
entityArns- A list of entity ARNs (unique identifiers).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityValues
EntityFilter.Builder entityValues(Collection<String> entityValues)
A list of IDs for affected entities.
- Parameters:
entityValues- A list of IDs for affected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityValues
EntityFilter.Builder entityValues(String... entityValues)
A list of IDs for affected entities.
- Parameters:
entityValues- A list of IDs for affected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimes
EntityFilter.Builder lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
- Parameters:
lastUpdatedTimes- A list of the most recent dates and times that the entity was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimes
EntityFilter.Builder lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
- Parameters:
lastUpdatedTimes- A list of the most recent dates and times that the entity was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimes
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.Builderavoiding the need to create one manually viaDateTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lastUpdatedTimes(List.) - Parameters:
lastUpdatedTimes- a consumer that will call methods onDateTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lastUpdatedTimes(java.util.Collection)
-
tags
EntityFilter.Builder tags(Collection<? extends Map<String,String>> tags)
A map of entity tags attached to the affected entity.
Currently, the
tagsproperty isn't supported.- Parameters:
tags- A map of entity tags attached to the affected entity.Currently, the
tagsproperty isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EntityFilter.Builder tags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
Currently, the
tagsproperty isn't supported.- Parameters:
tags- A map of entity tags attached to the affected entity.Currently, the
tagsproperty isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCodesWithStrings
EntityFilter.Builder statusCodesWithStrings(Collection<String> statusCodes)
A list of entity status codes (
IMPAIRED,UNIMPAIRED, orUNKNOWN).- Parameters:
statusCodes- A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCodesWithStrings
EntityFilter.Builder statusCodesWithStrings(String... statusCodes)
A list of entity status codes (
IMPAIRED,UNIMPAIRED, orUNKNOWN).- Parameters:
statusCodes- A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCodes
EntityFilter.Builder statusCodes(Collection<EntityStatusCode> statusCodes)
A list of entity status codes (
IMPAIRED,UNIMPAIRED, orUNKNOWN).- Parameters:
statusCodes- A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCodes
EntityFilter.Builder statusCodes(EntityStatusCode... statusCodes)
A list of entity status codes (
IMPAIRED,UNIMPAIRED, orUNKNOWN).- Parameters:
statusCodes- A list of entity status codes (IMPAIRED,UNIMPAIRED, orUNKNOWN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-