Interface AnomalyMonitor.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnomalyMonitor.Builder,
,AnomalyMonitor> SdkBuilder<AnomalyMonitor.Builder,
,AnomalyMonitor> SdkPojo
- Enclosing class:
AnomalyMonitor
public static interface AnomalyMonitor.Builder
extends SdkPojo, CopyableBuilder<AnomalyMonitor.Builder,AnomalyMonitor>
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(String creationDate) The date when the monitor was created.dimensionalValueCount
(Integer dimensionalValueCount) The value for evaluated dimensions.lastEvaluatedDate
(String lastEvaluatedDate) The date when the monitor last evaluated for anomalies.lastUpdatedDate
(String lastUpdatedDate) The date when the monitor was last updated.monitorArn
(String monitorArn) The Amazon Resource Name (ARN) value.monitorDimension
(String monitorDimension) The dimensions to evaluate.monitorDimension
(MonitorDimension monitorDimension) The dimensions to evaluate.monitorName
(String monitorName) The name of the monitor.default AnomalyMonitor.Builder
monitorSpecification
(Consumer<Expression.Builder> monitorSpecification) Sets the value of the MonitorSpecification property for this object.monitorSpecification
(Expression monitorSpecification) Sets the value of the MonitorSpecification property for this object.monitorType
(String monitorType) The possible type values.monitorType
(MonitorType monitorType) The possible type values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monitorArn
The Amazon Resource Name (ARN) value.
- Parameters:
monitorArn
- The Amazon Resource Name (ARN) value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorName
The name of the monitor.
- Parameters:
monitorName
- The name of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date when the monitor was created.
- Parameters:
creationDate
- The date when the monitor was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
The date when the monitor was last updated.
- Parameters:
lastUpdatedDate
- The date when the monitor was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastEvaluatedDate
The date when the monitor last evaluated for anomalies.
- Parameters:
lastEvaluatedDate
- The date when the monitor last evaluated for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorType
The possible type values.
- Parameters:
monitorType
- The possible type values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitorType
The possible type values.
- Parameters:
monitorType
- The possible type values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitorDimension
The dimensions to evaluate.
- Parameters:
monitorDimension
- The dimensions to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitorDimension
The dimensions to evaluate.
- Parameters:
monitorDimension
- The dimensions to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitorSpecification
Sets the value of the MonitorSpecification property for this object.- Parameters:
monitorSpecification
- The new value for the MonitorSpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorSpecification
default AnomalyMonitor.Builder monitorSpecification(Consumer<Expression.Builder> monitorSpecification) Sets the value of the MonitorSpecification property for this object. This is a convenience method that creates an instance of theExpression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitorSpecification(Expression)
.- Parameters:
monitorSpecification
- a consumer that will call methods onExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensionalValueCount
The value for evaluated dimensions.
- Parameters:
dimensionalValueCount
- The value for evaluated dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-