Interface CreateAnomalyDetectorResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateAnomalyDetectorResponse.Builder,,CreateAnomalyDetectorResponse> SdkBuilder<CreateAnomalyDetectorResponse.Builder,,CreateAnomalyDetectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAnomalyDetectorResponse
@Mutable
@NotThreadSafe
public static interface CreateAnomalyDetectorResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<CreateAnomalyDetectorResponse.Builder,CreateAnomalyDetectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorId(String anomalyDetectorId) The unique identifier of the created anomaly detector.The Amazon Resource Name (ARN) of the created anomaly detector.status(Consumer<AnomalyDetectorStatus.Builder> status) The status information of the created anomaly detector.status(AnomalyDetectorStatus status) The status information of the created anomaly detector.The tags applied to the created 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 created anomaly detector.
- Parameters:
anomalyDetectorId- The unique identifier of the created 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 created anomaly detector.
- Parameters:
arn- The Amazon Resource Name (ARN) of the created anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status information of the created anomaly detector.
- Parameters:
status- The status information of the created anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default CreateAnomalyDetectorResponse.Builder status(Consumer<AnomalyDetectorStatus.Builder> status) The status information of the created 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 created anomaly detector.
- Parameters:
tags- The tags applied to the created anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-