Interface CloudWatchFilterConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchFilterConfig.Builder,,CloudWatchFilterConfig> SdkBuilder<CloudWatchFilterConfig.Builder,,CloudWatchFilterConfig> SdkPojo
- Enclosing class:
- CloudWatchFilterConfig
@Mutable
@NotThreadSafe
public static interface CloudWatchFilterConfig.Builder
extends SdkPojo, CopyableBuilder<CloudWatchFilterConfig.Builder,CloudWatchFilterConfig>
-
Method Summary
Modifier and TypeMethodDescriptionsessionIds(String... sessionIds) A list of specific session IDs to evaluate.sessionIds(Collection<String> sessionIds) A list of specific session IDs to evaluate.default CloudWatchFilterConfig.BuildertimeRange(Consumer<SessionFilterConfig.Builder> timeRange) The time range filter for selecting sessions to evaluate.timeRange(SessionFilterConfig timeRange) The time range filter for selecting sessions to evaluate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sessionIds
A list of specific session IDs to evaluate. If specified, only these sessions are included in the evaluation.
- Parameters:
sessionIds- A list of specific session IDs to evaluate. If specified, only these sessions are included in the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIds
A list of specific session IDs to evaluate. If specified, only these sessions are included in the evaluation.
- Parameters:
sessionIds- A list of specific session IDs to evaluate. If specified, only these sessions are included in the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
The time range filter for selecting sessions to evaluate.
- Parameters:
timeRange- The time range filter for selecting sessions to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
The time range filter for selecting sessions to evaluate.
This is a convenience method that creates an instance of theSessionFilterConfig.Builderavoiding the need to create one manually viaSessionFilterConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeRange(SessionFilterConfig).- Parameters:
timeRange- a consumer that will call methods onSessionFilterConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-