Interface EventFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventFilter.Builder,
,EventFilter> SdkBuilder<EventFilter.Builder,
,EventFilter> SdkPojo
- Enclosing class:
EventFilter
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones
(String... availabilityZones) A list of Amazon Web Services Availability Zones.availabilityZones
(Collection<String> availabilityZones) A list of Amazon Web Services Availability Zones.endTimes
(Collection<DateTimeRange> endTimes) A list of dates and times that the event ended.endTimes
(Consumer<DateTimeRange.Builder>... endTimes) A list of dates and times that the event ended.endTimes
(DateTimeRange... endTimes) A list of dates and times that the event ended.entityArns
(String... entityArns) A list of entity ARNs (unique identifiers).entityArns
(Collection<String> entityArns) A list of entity ARNs (unique identifiers).entityValues
(String... entityValues) A list of entity identifiers, such as EC2 instance IDs (i-34ab692e
) or EBS volumes (vol-426ab23e
).entityValues
(Collection<String> entityValues) A list of entity identifiers, such as EC2 instance IDs (i-34ab692e
) or EBS volumes (vol-426ab23e
).A list of event ARNs (unique identifiers).eventArns
(Collection<String> eventArns) A list of event ARNs (unique identifiers).eventStatusCodes
(Collection<EventStatusCode> eventStatusCodes) A list of event status codes.eventStatusCodes
(EventStatusCode... eventStatusCodes) A list of event status codes.eventStatusCodesWithStrings
(String... eventStatusCodes) A list of event status codes.eventStatusCodesWithStrings
(Collection<String> eventStatusCodes) A list of event status codes.eventTypeCategories
(Collection<EventTypeCategory> eventTypeCategories) A list of event type category codes.eventTypeCategories
(EventTypeCategory... eventTypeCategories) A list of event type category codes.eventTypeCategoriesWithStrings
(String... eventTypeCategories) A list of event type category codes.eventTypeCategoriesWithStrings
(Collection<String> eventTypeCategories) A list of event type category codes.eventTypeCodes
(String... eventTypeCodes) A list of unique identifiers for event types.eventTypeCodes
(Collection<String> eventTypeCodes) A list of unique identifiers for event types.lastUpdatedTimes
(Collection<DateTimeRange> lastUpdatedTimes) A list of dates and times that the event was last updated.lastUpdatedTimes
(Consumer<DateTimeRange.Builder>... lastUpdatedTimes) A list of dates and times that the event was last updated.lastUpdatedTimes
(DateTimeRange... lastUpdatedTimes) A list of dates and times that the event was last updated.A list of Amazon Web Services Regions.regions
(Collection<String> regions) A list of Amazon Web Services Regions.The Amazon Web Services associated with the event.services
(Collection<String> services) The Amazon Web Services associated with the event.startTimes
(Collection<DateTimeRange> startTimes) A list of dates and times that the event began.startTimes
(Consumer<DateTimeRange.Builder>... startTimes) A list of dates and times that the event began.startTimes
(DateTimeRange... startTimes) A list of dates and times that the event began.tags
(Collection<? extends Map<String, String>> tags) A map of entity tags attached to the affected entity.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 Details
-
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
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
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
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
The Amazon Web Services associated with the event. For example,
EC2
,RDS
.- Parameters:
services
- The Amazon Web 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
The Amazon Web Services associated with the event. For example,
EC2
,RDS
.- Parameters:
services
- The Amazon Web 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
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
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
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
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
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
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
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 viaDateTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartTimes(List<DateTimeRange>)
.- 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:
-
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
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
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 viaDateTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendTimes(List<DateTimeRange>)
.- 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:
-
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
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
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 viaDateTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastUpdatedTimes(List<DateTimeRange>)
.- 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:
-
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
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
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
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
A list of event type category codes. Possible values are
issue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Parameters:
eventTypeCategories
- A list of event type category codes. Possible values areissue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategoriesWithStrings
A list of event type category codes. Possible values are
issue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Parameters:
eventTypeCategories
- A list of event type category codes. Possible values areissue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategories
A list of event type category codes. Possible values are
issue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Parameters:
eventTypeCategories
- A list of event type category codes. Possible values areissue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategories
A list of event type category codes. Possible values are
issue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Parameters:
eventTypeCategories
- A list of event type category codes. Possible values areissue
,accountNotification
, orscheduledChange
. Currently, theinvestigation
value isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of entity tags attached to the affected entity.
Currently, the
tags
property isn't supported.- Parameters:
tags
- A map of entity tags attached to the affected entity.Currently, the
tags
property isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of entity tags attached to the affected entity.
Currently, the
tags
property isn't supported.- Parameters:
tags
- A map of entity tags attached to the affected entity.Currently, the
tags
property isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStatusCodesWithStrings
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
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
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
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.
-