Interface GetMonitorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMonitorResponse.Builder,
,GetMonitorResponse> NetworkMonitorResponse.Builder
,SdkBuilder<GetMonitorResponse.Builder,
,GetMonitorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMonitorResponse
@Mutable
@NotThreadSafe
public static interface GetMonitorResponse.Builder
extends NetworkMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetMonitorResponse.Builder,GetMonitorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod
(Long aggregationPeriod) The aggregation period for the specified monitor.The time and date when the monitor was created.modifiedAt
(Instant modifiedAt) The time and date when the monitor was last modified.monitorArn
(String monitorArn) The ARN of the selected monitor.monitorName
(String monitorName) The name of the monitor.probes
(Collection<Probe> probes) The details about each probe associated with that monitor.probes
(Consumer<Probe.Builder>... probes) The details about each probe associated with that monitor.The details about each probe associated with that monitor.Lists the status of thestate
of each monitor.state
(MonitorState state) Lists the status of thestate
of each 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 selected monitor.
- Parameters:
monitorArn
- The ARN of the selected 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
Lists the status of the
state
of each monitor.- Parameters:
state
- Lists the status of thestate
of each monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Lists the status of the
state
of each monitor.- Parameters:
state
- Lists the status of thestate
of each monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationPeriod
The aggregation period for the specified monitor.
- Parameters:
aggregationPeriod
- The aggregation period for the specified monitor.- 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.
-
probes
The details about each probe associated with that monitor.
- Parameters:
probes
- The details about each probe associated with that monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
probes
The details about each probe associated with that monitor.
- Parameters:
probes
- The details about each probe associated with that monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
probes
The details about each probe associated with that monitor.
This is a convenience method that creates an instance of theProbe.Builder
avoiding the need to create one manually viaProbe.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprobes(List<Probe>)
.- Parameters:
probes
- a consumer that will call methods onProbe.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time and date when the monitor was created.
- Parameters:
createdAt
- The time and date when the monitor was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The time and date when the monitor was last modified.
- Parameters:
modifiedAt
- The time and date when the monitor was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-