Interface CreateAnomalyDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAnomalyDetectorRequest.Builder,,CreateAnomalyDetectorRequest> LookoutMetricsRequest.Builder,SdkBuilder<CreateAnomalyDetectorRequest.Builder,,CreateAnomalyDetectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAnomalyDetectorRequest
@Mutable
@NotThreadSafe
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
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
-
overrideConfiguration
CreateAnomalyDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-