Interface ComputationModelConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComputationModelConfiguration.Builder,
,ComputationModelConfiguration> SdkBuilder<ComputationModelConfiguration.Builder,
,ComputationModelConfiguration> SdkPojo
- Enclosing class:
ComputationModelConfiguration
@Mutable
@NotThreadSafe
public static interface ComputationModelConfiguration.Builder
extends SdkPojo, CopyableBuilder<ComputationModelConfiguration.Builder,ComputationModelConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetection
(Consumer<ComputationModelAnomalyDetectionConfiguration.Builder> anomalyDetection) The configuration for the anomaly detection type of computation model.anomalyDetection
(ComputationModelAnomalyDetectionConfiguration anomalyDetection) The configuration for the anomaly detection type of computation model.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, sdkFieldNameToField, sdkFields
-
Method Details
-
anomalyDetection
ComputationModelConfiguration.Builder anomalyDetection(ComputationModelAnomalyDetectionConfiguration anomalyDetection) The configuration for the anomaly detection type of computation model.
- Parameters:
anomalyDetection
- The configuration for the anomaly detection type of computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetection
default ComputationModelConfiguration.Builder anomalyDetection(Consumer<ComputationModelAnomalyDetectionConfiguration.Builder> anomalyDetection) The configuration for the anomaly detection type of computation model.
This is a convenience method that creates an instance of theComputationModelAnomalyDetectionConfiguration.Builder
avoiding the need to create one manually viaComputationModelAnomalyDetectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyDetection(ComputationModelAnomalyDetectionConfiguration)
.- Parameters:
anomalyDetection
- a consumer that will call methods onComputationModelAnomalyDetectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-