Interface ListEventsFilters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListEventsFilters.Builder,ListEventsFilters>,SdkBuilder<ListEventsFilters.Builder,ListEventsFilters>,SdkPojo
- Enclosing class:
- ListEventsFilters
public static interface ListEventsFilters.Builder extends SdkPojo, CopyableBuilder<ListEventsFilters.Builder,ListEventsFilters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListEventsFilters.BuilderdataSource(String dataSource)The source,AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, of the events you want returned.ListEventsFilters.BuilderdataSource(EventDataSource dataSource)The source,AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, of the events you want returned.ListEventsFilters.BuildereventClass(String eventClass)The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.ListEventsFilters.BuildereventClass(EventClass eventClass)The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.ListEventsFilters.BuildereventSource(String eventSource)The Amazon Web Services source that emitted the events you want to filter for.default ListEventsFilters.BuildereventTimeRange(Consumer<EventTimeRange.Builder> eventTimeRange)A time range during which you want the filtered events to have occurred.ListEventsFilters.BuildereventTimeRange(EventTimeRange eventTimeRange)A time range during which you want the filtered events to have occurred.ListEventsFilters.BuilderinsightId(String insightId)An ID of an insight that is related to the events you want to filter for.default ListEventsFilters.BuilderresourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)Sets the value of the ResourceCollection property for this object.ListEventsFilters.BuilderresourceCollection(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 Detail
-
insightId
ListEventsFilters.Builder insightId(String 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
ListEventsFilters.Builder eventTimeRange(EventTimeRange 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
default ListEventsFilters.Builder eventTimeRange(Consumer<EventTimeRange.Builder> 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.Builderavoiding the need to create one manually viaEventTimeRange.builder().When the
Consumercompletes,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:
eventTimeRange(EventTimeRange)
-
eventClass
ListEventsFilters.Builder eventClass(String 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,EventClass
-
eventClass
ListEventsFilters.Builder eventClass(EventClass 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,EventClass
-
eventSource
ListEventsFilters.Builder eventSource(String 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
ListEventsFilters.Builder dataSource(String dataSource)
The source,
AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, of the events you want returned.- Parameters:
dataSource- The source,AWS_CLOUD_TRAILorAWS_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:
EventDataSource,EventDataSource
-
dataSource
ListEventsFilters.Builder dataSource(EventDataSource dataSource)
The source,
AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, of the events you want returned.- Parameters:
dataSource- The source,AWS_CLOUD_TRAILorAWS_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:
EventDataSource,EventDataSource
-
resourceCollection
ListEventsFilters.Builder resourceCollection(ResourceCollection 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.Builderavoiding the need to create one manually viaResourceCollection.builder().When the
Consumercompletes,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:
resourceCollection(ResourceCollection)
-
-