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
-
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 Detail
-
anomalyDetectorArn
DescribeAnomalyDetectorResponse.Builder anomalyDetectorArn(String 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
DescribeAnomalyDetectorResponse.Builder anomalyDetectorName(String 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.Builderavoiding the need to create one manually viaAnomalyDetectorConfigSummary.builder().When the
Consumercompletes,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:
anomalyDetectorConfig(AnomalyDetectorConfigSummary)
-
creationTime
DescribeAnomalyDetectorResponse.Builder creationTime(Instant 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
DescribeAnomalyDetectorResponse.Builder lastModificationTime(Instant 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
DescribeAnomalyDetectorResponse.Builder status(String 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:
AnomalyDetectorStatus,AnomalyDetectorStatus
-
status
DescribeAnomalyDetectorResponse.Builder status(AnomalyDetectorStatus 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:
AnomalyDetectorStatus,AnomalyDetectorStatus
-
failureReason
DescribeAnomalyDetectorResponse.Builder failureReason(String 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
DescribeAnomalyDetectorResponse.Builder kmsKeyArn(String 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
DescribeAnomalyDetectorResponse.Builder failureType(String 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:
AnomalyDetectorFailureType,AnomalyDetectorFailureType
-
failureType
DescribeAnomalyDetectorResponse.Builder failureType(AnomalyDetectorFailureType 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:
AnomalyDetectorFailureType,AnomalyDetectorFailureType
-
-