Interface CreateMonitorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateMonitorResponse.Builder,
,CreateMonitorResponse> NetworkMonitorResponse.Builder
,SdkBuilder<CreateMonitorResponse.Builder,
,CreateMonitorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateMonitorResponse
@Mutable
@NotThreadSafe
public static interface CreateMonitorResponse.Builder
extends NetworkMonitorResponse.Builder, SdkPojo, CopyableBuilder<CreateMonitorResponse.Builder,CreateMonitorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod
(Long aggregationPeriod) The number of seconds that metrics are aggregated by 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.services.networkmonitor.model.NetworkMonitorResponse.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 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 number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either
30
or60
.- Parameters:
aggregationPeriod
- The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be 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.
-