Interface AnomalyMonitor.Builder

  • Method Details

    • 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

      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:
    • 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

      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:
    • 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 the Expression.Builder avoiding the need to create one manually via Expression.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to monitorSpecification(Expression).

      Parameters:
      monitorSpecification - a consumer that will call methods on Expression.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.