Interface DescribeMonitorResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeMonitorResponse.Builder,DescribeMonitorResponse>, ForecastResponse.Builder, SdkBuilder<DescribeMonitorResponse.Builder,DescribeMonitorResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeMonitorResponse

public static interface DescribeMonitorResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribeMonitorResponse.Builder,DescribeMonitorResponse>
  • Method Details

    • monitorName

      DescribeMonitorResponse.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.
    • monitorArn

      DescribeMonitorResponse.Builder monitorArn(String monitorArn)

      The Amazon Resource Name (ARN) of the monitor resource described.

      Parameters:
      monitorArn - The Amazon Resource Name (ARN) of the monitor resource described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      DescribeMonitorResponse.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the auto predictor being monitored.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the auto predictor being monitored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the monitor resource.

      Parameters:
      status - The status of the monitor resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastEvaluationTime

      DescribeMonitorResponse.Builder lastEvaluationTime(Instant lastEvaluationTime)

      The timestamp of the latest evaluation completed by the monitor.

      Parameters:
      lastEvaluationTime - The timestamp of the latest evaluation completed by the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastEvaluationState

      DescribeMonitorResponse.Builder lastEvaluationState(String lastEvaluationState)

      The state of the monitor's latest evaluation.

      Parameters:
      lastEvaluationState - The state of the monitor's latest evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • baseline

      Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.

      Parameters:
      baseline - Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • baseline

      Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.

      This is a convenience method that creates an instance of the Baseline.Builder avoiding the need to create one manually via Baseline.builder().

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

      Parameters:
      baseline - a consumer that will call methods on Baseline.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      An error message, if any, for the monitor.

      Parameters:
      message - An error message, if any, for the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      DescribeMonitorResponse.Builder creationTime(Instant creationTime)

      The timestamp for when the monitor resource was created.

      Parameters:
      creationTime - The timestamp for when the monitor resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModificationTime

      DescribeMonitorResponse.Builder lastModificationTime(Instant lastModificationTime)

      The timestamp of the latest modification to the monitor.

      Parameters:
      lastModificationTime - The timestamp of the latest modification to the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedEvaluationTimeRemainingInMinutes

      DescribeMonitorResponse.Builder estimatedEvaluationTimeRemainingInMinutes(Long estimatedEvaluationTimeRemainingInMinutes)

      The estimated number of minutes remaining before the monitor resource finishes its current evaluation.

      Parameters:
      estimatedEvaluationTimeRemainingInMinutes - The estimated number of minutes remaining before the monitor resource finishes its current evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.