Interface UpdateAnomalyDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAnomalyDetectorRequest.Builder,
,UpdateAnomalyDetectorRequest> LookoutMetricsRequest.Builder
,SdkBuilder<UpdateAnomalyDetectorRequest.Builder,
,UpdateAnomalyDetectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAnomalyDetectorRequest
public static interface UpdateAnomalyDetectorRequest.Builder
extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<UpdateAnomalyDetectorRequest.Builder,UpdateAnomalyDetectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorArn
(String anomalyDetectorArn) The ARN of the detector to update.anomalyDetectorConfig
(Consumer<AnomalyDetectorConfig.Builder> anomalyDetectorConfig) Contains information about the configuration to which the detector will be updated.anomalyDetectorConfig
(AnomalyDetectorConfig anomalyDetectorConfig) Contains information about the configuration to which the detector will be updated.anomalyDetectorDescription
(String anomalyDetectorDescription) The updated detector description.The Amazon Resource Name (ARN) of an AWS KMS encryption key.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
anomalyDetectorArn
The ARN of the detector to update.
- Parameters:
anomalyDetectorArn
- The ARN of the detector to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of an AWS KMS encryption key.
- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of an AWS KMS encryption key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorDescription
The updated detector description.
- Parameters:
anomalyDetectorDescription
- The updated detector description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorConfig
UpdateAnomalyDetectorRequest.Builder anomalyDetectorConfig(AnomalyDetectorConfig anomalyDetectorConfig) Contains information about the configuration to which the detector will be updated.
- Parameters:
anomalyDetectorConfig
- Contains information about the configuration to which the detector will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorConfig
default UpdateAnomalyDetectorRequest.Builder anomalyDetectorConfig(Consumer<AnomalyDetectorConfig.Builder> anomalyDetectorConfig) Contains information about the configuration to which the detector will be updated.
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:
-
overrideConfiguration
UpdateAnomalyDetectorRequest.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
UpdateAnomalyDetectorRequest.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.
-