Interface DescribeAnomalyDetectorResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAnomalyDetectorResponse.Builder,,DescribeAnomalyDetectorResponse> SdkBuilder<DescribeAnomalyDetectorResponse.Builder,,DescribeAnomalyDetectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAnomalyDetectorResponse
@Mutable
@NotThreadSafe
public static interface DescribeAnomalyDetectorResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<DescribeAnomalyDetectorResponse.Builder,DescribeAnomalyDetectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetector(Consumer<AnomalyDetectorDescription.Builder> anomalyDetector) The detailed information about the anomaly detector.anomalyDetector(AnomalyDetectorDescription anomalyDetector) The detailed information about the 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
-
anomalyDetector
The detailed information about the anomaly detector.
- Parameters:
anomalyDetector- The detailed information about the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetector
default DescribeAnomalyDetectorResponse.Builder anomalyDetector(Consumer<AnomalyDetectorDescription.Builder> anomalyDetector) The detailed information about the anomaly detector.
This is a convenience method that creates an instance of theAnomalyDetectorDescription.Builderavoiding the need to create one manually viaAnomalyDetectorDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomalyDetector(AnomalyDetectorDescription).- Parameters:
anomalyDetector- a consumer that will call methods onAnomalyDetectorDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-