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
-
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 Detail
-
anomalyDetectorName
CreateAnomalyDetectorRequest.Builder anomalyDetectorName(String 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
CreateAnomalyDetectorRequest.Builder anomalyDetectorDescription(String 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.Builderavoiding the need to create one manually viaAnomalyDetectorConfig.builder().When the
Consumercompletes,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:
anomalyDetectorConfig(AnomalyDetectorConfig)
-
kmsKeyArn
CreateAnomalyDetectorRequest.Builder kmsKeyArn(String 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
CreateAnomalyDetectorRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAnomalyDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-