Interface DescribeAnomalyDetectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAnomalyDetectorResponse.Builder,
,DescribeAnomalyDetectorResponse> LookoutMetricsResponse.Builder
,SdkBuilder<DescribeAnomalyDetectorResponse.Builder,
,DescribeAnomalyDetectorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAnomalyDetectorResponse
public static interface DescribeAnomalyDetectorResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<DescribeAnomalyDetectorResponse.Builder,DescribeAnomalyDetectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorArn
(String anomalyDetectorArn) The ARN of the detector.anomalyDetectorConfig
(Consumer<AnomalyDetectorConfigSummary.Builder> anomalyDetectorConfig) Contains information about the detector's configuration.anomalyDetectorConfig
(AnomalyDetectorConfigSummary anomalyDetectorConfig) Contains information about the detector's configuration.anomalyDetectorDescription
(String anomalyDetectorDescription) A description of the detector.anomalyDetectorName
(String anomalyDetectorName) The name of the detector.creationTime
(Instant creationTime) The time at which the detector was created.failureReason
(String failureReason) The reason that the detector failed.failureType
(String failureType) The process that caused the detector to fail.failureType
(AnomalyDetectorFailureType failureType) The process that caused the detector to fail.The ARN of the KMS key to use to encrypt your data.lastModificationTime
(Instant lastModificationTime) The time at which the detector was last modified.The status of the detector.status
(AnomalyDetectorStatus status) The status of the detector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
anomalyDetectorArn
The ARN of the detector.
- Parameters:
anomalyDetectorArn
- The ARN of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorName
The name of the detector.
- Parameters:
anomalyDetectorName
- The name of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorDescription
DescribeAnomalyDetectorResponse.Builder anomalyDetectorDescription(String anomalyDetectorDescription) A description of the detector.
- Parameters:
anomalyDetectorDescription
- A description of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorConfig
DescribeAnomalyDetectorResponse.Builder anomalyDetectorConfig(AnomalyDetectorConfigSummary anomalyDetectorConfig) Contains information about the detector's configuration.
- Parameters:
anomalyDetectorConfig
- Contains information about the detector's configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorConfig
default DescribeAnomalyDetectorResponse.Builder anomalyDetectorConfig(Consumer<AnomalyDetectorConfigSummary.Builder> anomalyDetectorConfig) Contains information about the detector's configuration.
This is a convenience method that creates an instance of theAnomalyDetectorConfigSummary.Builder
avoiding the need to create one manually viaAnomalyDetectorConfigSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyDetectorConfig(AnomalyDetectorConfigSummary)
.- Parameters:
anomalyDetectorConfig
- a consumer that will call methods onAnomalyDetectorConfigSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time at which the detector was created.
- Parameters:
creationTime
- The time at which the detector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
The time at which the detector was last modified.
- Parameters:
lastModificationTime
- The time at which the detector was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the detector.
- Parameters:
status
- The status of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the detector.
- Parameters:
status
- The status of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason that the detector failed.
- Parameters:
failureReason
- The reason that the detector failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The ARN of the KMS key to use to encrypt your data.
- Parameters:
kmsKeyArn
- The ARN of the KMS key to use to encrypt your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureType
The process that caused the detector to fail.
- Parameters:
failureType
- The process that caused the detector to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureType
The process that caused the detector to fail.
- Parameters:
failureType
- The process that caused the detector to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-