Interface ListEventsFilters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListEventsFilters.Builder,
,ListEventsFilters> SdkBuilder<ListEventsFilters.Builder,
,ListEventsFilters> SdkPojo
- Enclosing class:
ListEventsFilters
-
Method Summary
Modifier and TypeMethodDescriptiondataSource
(String dataSource) The source,AWS_CLOUD_TRAIL
orAWS_CODE_DEPLOY
, of the events you want returned.dataSource
(EventDataSource dataSource) The source,AWS_CLOUD_TRAIL
orAWS_CODE_DEPLOY
, of the events you want returned.eventClass
(String eventClass) The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.eventClass
(EventClass eventClass) The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.eventSource
(String eventSource) The Amazon Web Services source that emitted the events you want to filter for.default ListEventsFilters.Builder
eventTimeRange
(Consumer<EventTimeRange.Builder> eventTimeRange) A time range during which you want the filtered events to have occurred.eventTimeRange
(EventTimeRange eventTimeRange) A time range during which you want the filtered events to have occurred.An ID of an insight that is related to the events you want to filter for.default ListEventsFilters.Builder
resourceCollection
(Consumer<ResourceCollection.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object.resourceCollection
(ResourceCollection resourceCollection) Sets the value of the ResourceCollection property for this object.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
-
insightId
An ID of an insight that is related to the events you want to filter for.
- Parameters:
insightId
- An ID of an insight that is related to the events you want to filter for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTimeRange
A time range during which you want the filtered events to have occurred.
- Parameters:
eventTimeRange
- A time range during which you want the filtered events to have occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTimeRange
A time range during which you want the filtered events to have occurred.
This is a convenience method that creates an instance of theEventTimeRange.Builder
avoiding the need to create one manually viaEventTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventTimeRange(EventTimeRange)
.- Parameters:
eventTimeRange
- a consumer that will call methods onEventTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventClass
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.
- Parameters:
eventClass
- The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventClass
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.
- Parameters:
eventClass
- The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventSource
The Amazon Web Services source that emitted the events you want to filter for.
- Parameters:
eventSource
- The Amazon Web Services source that emitted the events you want to filter for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The source,
AWS_CLOUD_TRAIL
orAWS_CODE_DEPLOY
, of the events you want returned.- Parameters:
dataSource
- The source,AWS_CLOUD_TRAIL
orAWS_CODE_DEPLOY
, of the events you want returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSource
The source,
AWS_CLOUD_TRAIL
orAWS_CODE_DEPLOY
, of the events you want returned.- Parameters:
dataSource
- The source,AWS_CLOUD_TRAIL
orAWS_CODE_DEPLOY
, of the events you want returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceCollection
Sets the value of the ResourceCollection property for this object.- Parameters:
resourceCollection
- The new value for the ResourceCollection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
default ListEventsFilters.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object. This is a convenience method that creates an instance of theResourceCollection.Builder
avoiding the need to create one manually viaResourceCollection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceCollection(ResourceCollection)
.- Parameters:
resourceCollection
- a consumer that will call methods onResourceCollection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-