Interface ListMonitorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMonitorsResponse.Builder,
,ListMonitorsResponse> NetworkMonitorResponse.Builder
,SdkBuilder<ListMonitorsResponse.Builder,
,ListMonitorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMonitorsResponse
public static interface ListMonitorsResponse.Builder
extends NetworkMonitorResponse.Builder, SdkPojo, CopyableBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmonitors
(Collection<MonitorSummary> monitors) Lists individual details about each of your monitors.monitors
(Consumer<MonitorSummary.Builder>... monitors) Lists individual details about each of your monitors.monitors
(MonitorSummary... monitors) Lists individual details about each of your monitors.The token for the next page of results.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 Details
-
monitors
Lists individual details about each of your monitors.
- Parameters:
monitors
- Lists individual details about each of your monitors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
Lists individual details about each of your monitors.
- Parameters:
monitors
- Lists individual details about each of your monitors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
Lists individual details about each of your monitors.
This is a convenience method that creates an instance of theMonitorSummary.Builder
avoiding the need to create one manually viaMonitorSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitors(List<MonitorSummary>)
.- Parameters:
monitors
- a consumer that will call methods onMonitorSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken
- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-