Interface GetMonitorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMonitorResponse.Builder,GetMonitorResponse>,NetworkMonitorResponse.Builder,SdkBuilder<GetMonitorResponse.Builder,GetMonitorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetMonitorResponse
public static interface GetMonitorResponse.Builder extends NetworkMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetMonitorResponse.Builder,GetMonitorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMonitorResponse.BuilderaggregationPeriod(Long aggregationPeriod)The aggregation period for the specified monitor.GetMonitorResponse.BuildercreatedAt(Instant createdAt)The time and date when the monitor was created.GetMonitorResponse.BuildermodifiedAt(Instant modifiedAt)The time and date when the monitor was last modified.GetMonitorResponse.BuildermonitorArn(String monitorArn)The ARN of the selected monitor.GetMonitorResponse.BuildermonitorName(String monitorName)The name of the monitor.GetMonitorResponse.Builderprobes(Collection<Probe> probes)The details about each probe associated with that monitor.GetMonitorResponse.Builderprobes(Consumer<Probe.Builder>... probes)The details about each probe associated with that monitor.GetMonitorResponse.Builderprobes(Probe... probes)The details about each probe associated with that monitor.GetMonitorResponse.Builderstate(String state)Lists the status of thestateof each monitor.GetMonitorResponse.Builderstate(MonitorState state)Lists the status of thestateof each monitor.GetMonitorResponse.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.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
monitorArn
GetMonitorResponse.Builder monitorArn(String 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
GetMonitorResponse.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
GetMonitorResponse.Builder state(String state)
Lists the status of the
stateof each monitor.- Parameters:
state- Lists the status of thestateof each monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MonitorState,MonitorState
-
state
GetMonitorResponse.Builder state(MonitorState state)
Lists the status of the
stateof each monitor.- Parameters:
state- Lists the status of thestateof each monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MonitorState,MonitorState
-
aggregationPeriod
GetMonitorResponse.Builder aggregationPeriod(Long 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
GetMonitorResponse.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.
-
probes
GetMonitorResponse.Builder probes(Collection<Probe> 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
GetMonitorResponse.Builder probes(Probe... 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
GetMonitorResponse.Builder probes(Consumer<Probe.Builder>... probes)
The details about each probe associated with that monitor.
This is a convenience method that creates an instance of theProbe.Builderavoiding the need to create one manually viaProbe.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#probes(List.) - 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:
#probes(java.util.Collection)
-
createdAt
GetMonitorResponse.Builder createdAt(Instant 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
GetMonitorResponse.Builder modifiedAt(Instant 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.
-
-