Interface CreateAnomalyDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAnomalyDetectorRequest.Builder,
,CreateAnomalyDetectorRequest> LookoutMetricsRequest.Builder
,SdkBuilder<CreateAnomalyDetectorRequest.Builder,
,CreateAnomalyDetectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAnomalyDetectorRequest
public static interface CreateAnomalyDetectorRequest.Builder
extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<CreateAnomalyDetectorRequest.Builder,CreateAnomalyDetectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorConfig
(Consumer<AnomalyDetectorConfig.Builder> anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.anomalyDetectorConfig
(AnomalyDetectorConfig anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.anomalyDetectorDescription
(String anomalyDetectorDescription) A description of the detector.anomalyDetectorName
(String anomalyDetectorName) The name of the detector.The ARN of the KMS key to use to encrypt your data.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of tags to apply to the anomaly detector.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsRequest.Builder
build
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
-
anomalyDetectorName
The name of the detector.
- Parameters:
anomalyDetectorName
- The name of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorDescription
A description of the detector.
- Parameters:
anomalyDetectorDescription
- A description of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorConfig
CreateAnomalyDetectorRequest.Builder anomalyDetectorConfig(AnomalyDetectorConfig anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.
- Parameters:
anomalyDetectorConfig
- Contains information about the configuration of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorConfig
default CreateAnomalyDetectorRequest.Builder anomalyDetectorConfig(Consumer<AnomalyDetectorConfig.Builder> anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.
This is a convenience method that creates an instance of theAnomalyDetectorConfig.Builder
avoiding the need to create one manually viaAnomalyDetectorConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyDetectorConfig(AnomalyDetectorConfig)
.- Parameters:
anomalyDetectorConfig
- a consumer that will call methods onAnomalyDetectorConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The ARN of the KMS key to use to encrypt your data.
- Parameters:
kmsKeyArn
- The ARN of the KMS key to use to encrypt your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the anomaly detector.
- Parameters:
tags
- A list of tags to apply to the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAnomalyDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAnomalyDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-