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
Modifier and TypeMethodDescriptionaggregationPeriod
(Long aggregationPeriod) The time, in seconds, that metrics are collected and sent to Amazon CloudWatch.monitorArn
(String monitorArn) The ARN of the monitor.monitorName
(String monitorName) The name of the monitor.The state of the monitor.state
(MonitorState state) The state of the monitor.The list of key-value pairs assigned to 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, sdkFields
-
Method Details
-
monitorArn
The ARN of the monitor.
- Parameters:
monitorArn
- The ARN of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
state
The state of the monitor.
- Parameters:
state
- The state of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the monitor.
- Parameters:
state
- The state of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationPeriod
The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either
30
or60
.- Parameters:
aggregationPeriod
- The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either30
or60
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of key-value pairs assigned to the monitor.
- Parameters:
tags
- The list of key-value pairs assigned to the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-