Interface EventFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventFilter.Builder,EventFilter>,SdkBuilder<EventFilter.Builder,EventFilter>,SdkPojo
- Enclosing class:
- EventFilter
public static interface EventFilter.Builder extends SdkPojo, CopyableBuilder<EventFilter.Builder,EventFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventFilter.BuilderavailabilityZones(String... availabilityZones)A list of Amazon Web Services Availability Zones.EventFilter.BuilderavailabilityZones(Collection<String> availabilityZones)A list of Amazon Web Services Availability Zones.EventFilter.BuilderendTimes(Collection<DateTimeRange> endTimes)A list of dates and times that the event ended.EventFilter.BuilderendTimes(Consumer<DateTimeRange.Builder>... endTimes)A list of dates and times that the event ended.EventFilter.BuilderendTimes(DateTimeRange... endTimes)A list of dates and times that the event ended.EventFilter.BuilderentityArns(String... entityArns)A list of entity ARNs (unique identifiers).EventFilter.BuilderentityArns(Collection<String> entityArns)A list of entity ARNs (unique identifiers).EventFilter.BuilderentityValues(String... entityValues)A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).EventFilter.BuilderentityValues(Collection<String> entityValues)A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).EventFilter.BuildereventArns(String... eventArns)A list of event ARNs (unique identifiers).EventFilter.BuildereventArns(Collection<String> eventArns)A list of event ARNs (unique identifiers).EventFilter.BuildereventStatusCodes(Collection<EventStatusCode> eventStatusCodes)A list of event status codes.EventFilter.BuildereventStatusCodes(EventStatusCode... eventStatusCodes)A list of event status codes.EventFilter.BuildereventStatusCodesWithStrings(String... eventStatusCodes)A list of event status codes.EventFilter.BuildereventStatusCodesWithStrings(Collection<String> eventStatusCodes)A list of event status codes.EventFilter.BuildereventTypeCategories(Collection<EventTypeCategory> eventTypeCategories)A list of event type category codes.EventFilter.BuildereventTypeCategories(EventTypeCategory... eventTypeCategories)A list of event type category codes.EventFilter.BuildereventTypeCategoriesWithStrings(String... eventTypeCategories)A list of event type category codes.EventFilter.BuildereventTypeCategoriesWithStrings(Collection<String> eventTypeCategories)A list of event type category codes.EventFilter.BuildereventTypeCodes(String... eventTypeCodes)A list of unique identifiers for event types.EventFilter.BuildereventTypeCodes(Collection<String> eventTypeCodes)A list of unique identifiers for event types.EventFilter.BuilderlastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)A list of dates and times that the event was last updated.EventFilter.BuilderlastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)A list of dates and times that the event was last updated.EventFilter.BuilderlastUpdatedTimes(DateTimeRange... lastUpdatedTimes)A list of dates and times that the event was last updated.EventFilter.Builderregions(String... regions)A list of Amazon Web Services Regions.EventFilter.Builderregions(Collection<String> regions)A list of Amazon Web Services Regions.EventFilter.Builderservices(String... services)The Amazon Web Services services associated with the event.EventFilter.Builderservices(Collection<String> services)The Amazon Web Services services associated with the event.EventFilter.BuilderstartTimes(Collection<DateTimeRange> startTimes)A list of dates and times that the event began.EventFilter.BuilderstartTimes(Consumer<DateTimeRange.Builder>... startTimes)A list of dates and times that the event began.EventFilter.BuilderstartTimes(DateTimeRange... startTimes)A list of dates and times that the event began.EventFilter.Buildertags(Collection<? extends Map<String,String>> tags)A map of entity tags attached to the affected entity.EventFilter.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
eventArns
EventFilter.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
EventFilter.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.
-
eventTypeCodes
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".- Parameters:
eventTypeCodes- A list of unique identifiers for event types. For example,"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCodes
EventFilter.Builder eventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".- Parameters:
eventTypeCodes- A list of unique identifiers for event types. For example,"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
EventFilter.Builder services(Collection<String> services)
The Amazon Web Services services associated with the event. For example,
EC2,RDS.- Parameters:
services- The Amazon Web Services services associated with the event. For example,EC2,RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
EventFilter.Builder services(String... services)
The Amazon Web Services services associated with the event. For example,
EC2,RDS.- Parameters:
services- The Amazon Web Services services associated with the event. For example,EC2,RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
EventFilter.Builder regions(Collection<String> regions)
A list of Amazon Web Services Regions.
- Parameters:
regions- A list of Amazon Web Services Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
EventFilter.Builder regions(String... regions)
A list of Amazon Web Services Regions.
- Parameters:
regions- A list of Amazon Web Services Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
EventFilter.Builder availabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
- Parameters:
availabilityZones- A list of Amazon Web Services Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
EventFilter.Builder availabilityZones(String... availabilityZones)
A list of Amazon Web Services Availability Zones.
- Parameters:
availabilityZones- A list of Amazon Web Services Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimes
EventFilter.Builder startTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
- Parameters:
startTimes- A list of dates and times that the event began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimes
EventFilter.Builder startTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
- Parameters:
startTimes- A list of dates and times that the event began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimes
EventFilter.Builder startTimes(Consumer<DateTimeRange.Builder>... startTimes)
A list of dates and times that the event began.
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#startTimes(List.) - Parameters:
startTimes- 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:
#startTimes(java.util.Collection)
-
endTimes
EventFilter.Builder endTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
- Parameters:
endTimes- A list of dates and times that the event ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimes
EventFilter.Builder endTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
- Parameters:
endTimes- A list of dates and times that the event ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimes
EventFilter.Builder endTimes(Consumer<DateTimeRange.Builder>... endTimes)
A list of dates and times that the event ended.
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#endTimes(List.) - Parameters:
endTimes- 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:
#endTimes(java.util.Collection)
-
lastUpdatedTimes
EventFilter.Builder lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
- Parameters:
lastUpdatedTimes- A list of dates and times that the event was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimes
EventFilter.Builder lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last updated.
- Parameters:
lastUpdatedTimes- A list of dates and times that the event was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimes
EventFilter.Builder lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)
A list of dates and times that the event was last 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)
-
entityArns
EventFilter.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
EventFilter.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
EventFilter.Builder entityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (vol-426ab23e).- Parameters:
entityValues- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityValues
EventFilter.Builder entityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (vol-426ab23e).- Parameters:
entityValues- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategoriesWithStrings
EventFilter.Builder eventTypeCategoriesWithStrings(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategoriesWithStrings
EventFilter.Builder eventTypeCategoriesWithStrings(String... eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategories
EventFilter.Builder eventTypeCategories(Collection<EventTypeCategory> eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategories
EventFilter.Builder eventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EventFilter.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
EventFilter.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.
-
eventStatusCodesWithStrings
EventFilter.Builder eventStatusCodesWithStrings(Collection<String> eventStatusCodes)
A list of event status codes.
- Parameters:
eventStatusCodes- A list of event status codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStatusCodesWithStrings
EventFilter.Builder eventStatusCodesWithStrings(String... eventStatusCodes)
A list of event status codes.
- Parameters:
eventStatusCodes- A list of event status codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStatusCodes
EventFilter.Builder eventStatusCodes(Collection<EventStatusCode> eventStatusCodes)
A list of event status codes.
- Parameters:
eventStatusCodes- A list of event status codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStatusCodes
EventFilter.Builder eventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
- Parameters:
eventStatusCodes- A list of event status codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-