Interface UpdateAnomalyDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAnomalyDetectorRequest.Builder,,UpdateAnomalyDetectorRequest> LookoutMetricsRequest.Builder,SdkBuilder<UpdateAnomalyDetectorRequest.Builder,,UpdateAnomalyDetectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAnomalyDetectorRequest
@Mutable
@NotThreadSafe
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
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
-
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.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:
-
overrideConfiguration
UpdateAnomalyDetectorRequest.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
UpdateAnomalyDetectorRequest.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.
-