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.BuilderaggregationPeriod(Long aggregationPeriod)The time, in seconds, that metrics are collected and sent to Amazon CloudWatch.MonitorSummary.BuildermonitorArn(String monitorArn)The ARN of the monitor.MonitorSummary.BuildermonitorName(String monitorName)The name of the monitor.MonitorSummary.Builderstate(String state)The state of the monitor.MonitorSummary.Builderstate(MonitorState state)The state of the monitor.MonitorSummary.Buildertags(Map<String,String> tags)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 Detail
-
monitorArn
MonitorSummary.Builder monitorArn(String 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
MonitorSummary.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.
-
state
MonitorSummary.Builder state(String 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:
MonitorState,MonitorState
-
state
MonitorSummary.Builder state(MonitorState 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:
MonitorState,MonitorState
-
aggregationPeriod
MonitorSummary.Builder aggregationPeriod(Long aggregationPeriod)
The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either
30or60.- Parameters:
aggregationPeriod- The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either30or60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
MonitorSummary.Builder tags(Map<String,String> 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.
-
-