public static interface EventFilter.Builder extends SdkPojo, CopyableBuilder<EventFilter.Builder,EventFilter>
| Modifier and Type | Method and Description |
|---|---|
EventFilter.Builder |
availabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
|
EventFilter.Builder |
availabilityZones(String... availabilityZones)
A list of Amazon Web Services Availability Zones.
|
EventFilter.Builder |
endTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
|
EventFilter.Builder |
endTimes(Consumer<DateTimeRange.Builder>... endTimes)
A list of dates and times that the event ended.
|
EventFilter.Builder |
endTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
|
EventFilter.Builder |
entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
EventFilter.Builder |
entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
|
EventFilter.Builder |
entityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
EventFilter.Builder |
entityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
EventFilter.Builder |
eventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
EventFilter.Builder |
eventArns(String... eventArns)
A list of event ARNs (unique identifiers).
|
EventFilter.Builder |
eventStatusCodes(Collection<EventStatusCode> eventStatusCodes)
A list of event status codes.
|
EventFilter.Builder |
eventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
|
EventFilter.Builder |
eventStatusCodesWithStrings(Collection<String> eventStatusCodes)
A list of event status codes.
|
EventFilter.Builder |
eventStatusCodesWithStrings(String... eventStatusCodes)
A list of event status codes.
|
EventFilter.Builder |
eventTypeCategories(Collection<EventTypeCategory> eventTypeCategories)
A list of event type category codes.
|
EventFilter.Builder |
eventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes.
|
EventFilter.Builder |
eventTypeCategoriesWithStrings(Collection<String> eventTypeCategories)
A list of event type category codes.
|
EventFilter.Builder |
eventTypeCategoriesWithStrings(String... eventTypeCategories)
A list of event type category codes.
|
EventFilter.Builder |
eventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types.
|
EventFilter.Builder |
eventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types.
|
EventFilter.Builder |
lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter.Builder |
regions(Collection<String> regions)
A list of Amazon Web Services Regions.
|
EventFilter.Builder |
regions(String... regions)
A list of Amazon Web Services Regions.
|
EventFilter.Builder |
services(Collection<String> services)
The Amazon Web Services services associated with the event.
|
EventFilter.Builder |
services(String... services)
The Amazon Web Services services associated with the event.
|
EventFilter.Builder |
startTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
|
EventFilter.Builder |
startTimes(Consumer<DateTimeRange.Builder>... startTimes)
A list of dates and times that the event began.
|
EventFilter.Builder |
startTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
|
EventFilter.Builder |
tags(Collection<? extends Map<String,String>> tags)
A map of entity tags attached to the affected entity.
|
EventFilter.Builder |
tags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEventFilter.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"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"
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"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".
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".EventFilter.Builder eventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".EventFilter.Builder services(Collection<String> services)
The Amazon Web Services services associated with the event. For example, EC2, RDS.
services - The Amazon Web Services services associated with the event. For example, EC2,
RDS.EventFilter.Builder services(String... services)
The Amazon Web Services services associated with the event. For example, EC2, RDS.
services - The Amazon Web Services services associated with the event. For example, EC2,
RDS.EventFilter.Builder regions(Collection<String> regions)
A list of Amazon Web Services Regions.
regions - A list of Amazon Web Services Regions.EventFilter.Builder regions(String... regions)
A list of Amazon Web Services Regions.
regions - A list of Amazon Web Services Regions.EventFilter.Builder availabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
availabilityZones - A list of Amazon Web Services Availability Zones.EventFilter.Builder availabilityZones(String... availabilityZones)
A list of Amazon Web Services Availability Zones.
availabilityZones - A list of Amazon Web Services Availability Zones.EventFilter.Builder startTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
startTimes - A list of dates and times that the event began.EventFilter.Builder startTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
startTimes - A list of dates and times that the event began.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.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 #startTimes(List.
startTimes - a consumer that will call methods on
DateTimeRange.Builder#startTimes(java.util.Collection) EventFilter.Builder endTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
endTimes - A list of dates and times that the event ended.EventFilter.Builder endTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
endTimes - A list of dates and times that the event ended.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.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 #endTimes(List.
endTimes - a consumer that will call methods on
DateTimeRange.Builder#endTimes(java.util.Collection) EventFilter.Builder lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
lastUpdatedTimes - A list of dates and times that the event was last updated.EventFilter.Builder lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last updated.
lastUpdatedTimes - A list of dates and times that the event was last updated.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.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) EventFilter.Builder entityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns - A list of entity ARNs (unique identifiers).EventFilter.Builder entityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
entityArns - A list of entity ARNs (unique identifiers).EventFilter.Builder entityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).EventFilter.Builder entityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).EventFilter.Builder eventTypeCategoriesWithStrings(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification
, or scheduledChange. Currently, the investigation value isn't supported at this
time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventFilter.Builder eventTypeCategoriesWithStrings(String... eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification
, or scheduledChange. Currently, the investigation value isn't supported at this
time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventFilter.Builder eventTypeCategories(Collection<EventTypeCategory> eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification
, or scheduledChange. Currently, the investigation value isn't supported at this
time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventFilter.Builder eventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification
, or scheduledChange. Currently, the investigation value isn't supported at this
time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventFilter.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.
EventFilter.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.
EventFilter.Builder eventStatusCodesWithStrings(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventFilter.Builder eventStatusCodesWithStrings(String... eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventFilter.Builder eventStatusCodes(Collection<EventStatusCode> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventFilter.Builder eventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.Copyright © 2022. All rights reserved.