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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnomalyMonitor.BuildercreationDate(String creationDate)The date when the monitor was created.AnomalyMonitor.BuilderdimensionalValueCount(Integer dimensionalValueCount)The value for evaluated dimensions.AnomalyMonitor.BuilderlastEvaluatedDate(String lastEvaluatedDate)The date when the monitor last evaluated for anomalies.AnomalyMonitor.BuilderlastUpdatedDate(String lastUpdatedDate)The date when the monitor was last updated.AnomalyMonitor.BuildermonitorArn(String monitorArn)The Amazon Resource Name (ARN) value.AnomalyMonitor.BuildermonitorDimension(String monitorDimension)The dimensions to evaluate.AnomalyMonitor.BuildermonitorDimension(MonitorDimension monitorDimension)The dimensions to evaluate.AnomalyMonitor.BuildermonitorName(String monitorName)The name of the monitor.default AnomalyMonitor.BuildermonitorSpecification(Consumer<Expression.Builder> monitorSpecification)Sets the value of the MonitorSpecification property for this object.AnomalyMonitor.BuildermonitorSpecification(Expression monitorSpecification)Sets the value of the MonitorSpecification property for this object.AnomalyMonitor.BuildermonitorType(String monitorType)The possible type values.AnomalyMonitor.BuildermonitorType(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 Detail
-
monitorArn
AnomalyMonitor.Builder monitorArn(String 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
AnomalyMonitor.Builder monitorName(String 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
AnomalyMonitor.Builder creationDate(String 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
AnomalyMonitor.Builder lastUpdatedDate(String 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
AnomalyMonitor.Builder lastEvaluatedDate(String 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
AnomalyMonitor.Builder monitorType(String 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,MonitorType
-
monitorType
AnomalyMonitor.Builder monitorType(MonitorType 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,MonitorType
-
monitorDimension
AnomalyMonitor.Builder monitorDimension(String 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,MonitorDimension
-
monitorDimension
AnomalyMonitor.Builder monitorDimension(MonitorDimension 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,MonitorDimension
-
monitorSpecification
AnomalyMonitor.Builder monitorSpecification(Expression 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.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,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:
monitorSpecification(Expression)
-
dimensionalValueCount
AnomalyMonitor.Builder dimensionalValueCount(Integer 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.
-
-