Interface DescribeMonitorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMonitorResponse.Builder,
,DescribeMonitorResponse> ForecastResponse.Builder
,SdkBuilder<DescribeMonitorResponse.Builder,
,DescribeMonitorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMonitorResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeMonitorResponse.Builder
baseline
(Consumer<Baseline.Builder> baseline) Metrics you can use as a baseline for comparison purposes.Metrics you can use as a baseline for comparison purposes.creationTime
(Instant creationTime) The timestamp for when the monitor resource was created.estimatedEvaluationTimeRemainingInMinutes
(Long estimatedEvaluationTimeRemainingInMinutes) The estimated number of minutes remaining before the monitor resource finishes its current evaluation.lastEvaluationState
(String lastEvaluationState) The state of the monitor's latest evaluation.lastEvaluationTime
(Instant lastEvaluationTime) The timestamp of the latest evaluation completed by the monitor.lastModificationTime
(Instant lastModificationTime) The timestamp of the latest modification to the monitor.An error message, if any, for the monitor.monitorArn
(String monitorArn) The Amazon Resource Name (ARN) of the monitor resource described.monitorName
(String monitorName) The name of the monitor.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the auto predictor being monitored.The status of the monitor resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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 theBaseline.Builder
avoiding the need to create one manually viaBaseline.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaseline(Baseline)
.- Parameters:
baseline
- a consumer that will call methods onBaseline.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
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
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.
-