Interface Rule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Rule.Builder,,Rule> SdkBuilder<Rule.Builder,,Rule> SdkPojo
- Enclosing class:
Rule
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<Filter> filters) The list of filters that determine which agent traces should be included in the evaluation based on trace properties.filters(Consumer<Filter.Builder>... filters) The list of filters that determine which agent traces should be included in the evaluation based on trace properties.The list of filters that determine which agent traces should be included in the evaluation based on trace properties.default Rule.BuildersamplingConfig(Consumer<SamplingConfig.Builder> samplingConfig) The sampling configuration that determines what percentage of agent traces to evaluate.samplingConfig(SamplingConfig samplingConfig) The sampling configuration that determines what percentage of agent traces to evaluate.default Rule.BuildersessionConfig(Consumer<SessionConfig.Builder> sessionConfig) The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.sessionConfig(SessionConfig sessionConfig) The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.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
-
samplingConfig
The sampling configuration that determines what percentage of agent traces to evaluate.
- Parameters:
samplingConfig- The sampling configuration that determines what percentage of agent traces to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samplingConfig
The sampling configuration that determines what percentage of agent traces to evaluate.
This is a convenience method that creates an instance of theSamplingConfig.Builderavoiding the need to create one manually viaSamplingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosamplingConfig(SamplingConfig).- Parameters:
samplingConfig- a consumer that will call methods onSamplingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
The list of filters that determine which agent traces should be included in the evaluation based on trace properties.
- Parameters:
filters- The list of filters that determine which agent traces should be included in the evaluation based on trace properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The list of filters that determine which agent traces should be included in the evaluation based on trace properties.
- Parameters:
filters- The list of filters that determine which agent traces should be included in the evaluation based on trace properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The list of filters that determine which agent traces should be included in the evaluation based on trace properties.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionConfig
The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.
- Parameters:
sessionConfig- The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionConfig
The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.
This is a convenience method that creates an instance of theSessionConfig.Builderavoiding the need to create one manually viaSessionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionConfig(SessionConfig).- Parameters:
sessionConfig- a consumer that will call methods onSessionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-