Interface MonitorSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MonitorSummary.Builder,MonitorSummary>,SdkBuilder<MonitorSummary.Builder,MonitorSummary>,SdkPojo
- Enclosing class:
- MonitorSummary
public static interface MonitorSummary.Builder extends SdkPojo, CopyableBuilder<MonitorSummary.Builder,MonitorSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonitorSummary.BuildercreationTime(Instant creationTime)When the monitor resource was created.MonitorSummary.BuilderlastModificationTime(Instant lastModificationTime)The last time the monitor resource was modified.MonitorSummary.BuildermonitorArn(String monitorArn)The Amazon Resource Name (ARN) of the monitor resource.MonitorSummary.BuildermonitorName(String monitorName)The name of the monitor resource.MonitorSummary.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the predictor being monitored.MonitorSummary.Builderstatus(String status)The status of the monitor.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
monitorArn
MonitorSummary.Builder monitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource.
- Parameters:
monitorArn- The Amazon Resource Name (ARN) of the monitor resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorName
MonitorSummary.Builder monitorName(String monitorName)
The name of the monitor resource.
- Parameters:
monitorName- The name of the monitor resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
MonitorSummary.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor being monitored.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the predictor being monitored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
MonitorSummary.Builder status(String status)
The status of the monitor. States include:
-
ACTIVE -
ACTIVE_STOPPING,ACTIVE_STOPPED -
UPDATE_IN_PROGRESS -
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILED -
DELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED
- Parameters:
status- The status of the monitor. States include:-
ACTIVE -
ACTIVE_STOPPING,ACTIVE_STOPPED -
UPDATE_IN_PROGRESS -
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILED -
DELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creationTime
MonitorSummary.Builder creationTime(Instant creationTime)
When the monitor resource was created.
- Parameters:
creationTime- When the monitor resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
MonitorSummary.Builder lastModificationTime(Instant lastModificationTime)
The last time the monitor resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
STOPPED- When the resource stopped. -
ACTIVEorCREATE_FAILED- When the monitor creation finished or failed.
- Parameters:
lastModificationTime- The last time the monitor resource was modified. The timestamp depends on the status of the job:-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
STOPPED- When the resource stopped. -
ACTIVEorCREATE_FAILED- When the monitor creation finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-