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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeMonitorResponse.Builderbaseline(Consumer<Baseline.Builder> baseline)Metrics you can use as a baseline for comparison purposes.DescribeMonitorResponse.Builderbaseline(Baseline baseline)Metrics you can use as a baseline for comparison purposes.DescribeMonitorResponse.BuildercreationTime(Instant creationTime)The timestamp for when the monitor resource was created.DescribeMonitorResponse.BuilderestimatedEvaluationTimeRemainingInMinutes(Long estimatedEvaluationTimeRemainingInMinutes)The estimated number of minutes remaining before the monitor resource finishes its current evaluation.DescribeMonitorResponse.BuilderlastEvaluationState(String lastEvaluationState)The state of the monitor's latest evaluation.DescribeMonitorResponse.BuilderlastEvaluationTime(Instant lastEvaluationTime)The timestamp of the latest evaluation completed by the monitor.DescribeMonitorResponse.BuilderlastModificationTime(Instant lastModificationTime)The timestamp of the latest modification to the monitor.DescribeMonitorResponse.Buildermessage(String message)An error message, if any, for the monitor.DescribeMonitorResponse.BuildermonitorArn(String monitorArn)The Amazon Resource Name (ARN) of the monitor resource described.DescribeMonitorResponse.BuildermonitorName(String monitorName)The name of the monitor.DescribeMonitorResponse.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the auto predictor being monitored.DescribeMonitorResponse.Builderstatus(String status)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
DescribeMonitorResponse.Builder status(String 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
DescribeMonitorResponse.Builder baseline(Baseline 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
default DescribeMonitorResponse.Builder baseline(Consumer<Baseline.Builder> 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.Builderavoiding the need to create one manually viaBaseline.builder().When the
Consumercompletes,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:
baseline(Baseline)
-
message
DescribeMonitorResponse.Builder message(String 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.
-
-