Interface PutAnomalyDetectorResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<PutAnomalyDetectorResponse.Builder,,PutAnomalyDetectorResponse> SdkBuilder<PutAnomalyDetectorResponse.Builder,,PutAnomalyDetectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutAnomalyDetectorResponse
@Mutable
@NotThreadSafe
public static interface PutAnomalyDetectorResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<PutAnomalyDetectorResponse.Builder,PutAnomalyDetectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorId(String anomalyDetectorId) The unique identifier of the updated anomaly detector.The Amazon Resource Name (ARN) of the updated anomaly detector.status(Consumer<AnomalyDetectorStatus.Builder> status) The status information of the updated anomaly detector.status(AnomalyDetectorStatus status) The status information of the updated anomaly detector.The tags applied to the updated anomaly detector.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
anomalyDetectorId
The unique identifier of the updated anomaly detector.
- Parameters:
anomalyDetectorId- The unique identifier of the updated anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the updated anomaly detector.
- Parameters:
arn- The Amazon Resource Name (ARN) of the updated anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status information of the updated anomaly detector.
- Parameters:
status- The status information of the updated anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status information of the updated anomaly detector.
This is a convenience method that creates an instance of theAnomalyDetectorStatus.Builderavoiding the need to create one manually viaAnomalyDetectorStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AnomalyDetectorStatus).- Parameters:
status- a consumer that will call methods onAnomalyDetectorStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags applied to the updated anomaly detector.
- Parameters:
tags- The tags applied to the updated anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-