Interface AnomalyDetectorSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnomalyDetectorSummary.Builder,,AnomalyDetectorSummary> SdkBuilder<AnomalyDetectorSummary.Builder,,AnomalyDetectorSummary> SdkPojo
- Enclosing class:
AnomalyDetectorSummary
@Mutable
@NotThreadSafe
public static interface AnomalyDetectorSummary.Builder
extends SdkPojo, CopyableBuilder<AnomalyDetectorSummary.Builder,AnomalyDetectorSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe user-friendly name of the anomaly detector.anomalyDetectorId(String anomalyDetectorId) The unique identifier of the anomaly detector.The Amazon Resource Name (ARN) of the anomaly detector.The timestamp when the anomaly detector was created.modifiedAt(Instant modifiedAt) The timestamp when the anomaly detector was last modified.default AnomalyDetectorSummary.Builderstatus(Consumer<AnomalyDetectorStatus.Builder> status) The current status of the anomaly detector.status(AnomalyDetectorStatus status) The current status of the anomaly detector.The tags applied to the anomaly detector.Methods 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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the anomaly detector.
- Parameters:
arn- The Amazon Resource Name (ARN) of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorId
The unique identifier of the anomaly detector.
- Parameters:
anomalyDetectorId- The unique identifier of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The user-friendly name of the anomaly detector.
- Parameters:
alias- The user-friendly name of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the anomaly detector.
- Parameters:
status- The current status of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the 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:
-
createdAt
The timestamp when the anomaly detector was created.
- Parameters:
createdAt- The timestamp when the anomaly detector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The timestamp when the anomaly detector was last modified.
- Parameters:
modifiedAt- The timestamp when the anomaly detector was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags applied to the anomaly detector.
- Parameters:
tags- The tags applied to the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-