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
-
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
-
anomalyDetectorArn
UpdateAnomalyDetectorRequest.Builder anomalyDetectorArn(String 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
UpdateAnomalyDetectorRequest.Builder kmsKeyArn(String 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
UpdateAnomalyDetectorRequest.Builder anomalyDetectorDescription(String 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.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)
-
overrideConfiguration
UpdateAnomalyDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAnomalyDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-