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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMonitorsResponse.Buildermonitors(Collection<MonitorSummary> monitors)Lists individual details about each of your monitors.ListMonitorsResponse.Buildermonitors(Consumer<MonitorSummary.Builder>... monitors)Lists individual details about each of your monitors.ListMonitorsResponse.Buildermonitors(MonitorSummary... monitors)Lists individual details about each of your monitors.ListMonitorsResponse.BuildernextToken(String nextToken)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 Detail
-
monitors
ListMonitorsResponse.Builder monitors(Collection<MonitorSummary> 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
ListMonitorsResponse.Builder monitors(MonitorSummary... 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
ListMonitorsResponse.Builder monitors(Consumer<MonitorSummary.Builder>... monitors)
Lists individual details about each of your monitors.
This is a convenience method that creates an instance of theMonitorSummary.Builderavoiding the need to create one manually viaMonitorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#monitors(List.) - 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:
#monitors(java.util.Collection)
-
nextToken
ListMonitorsResponse.Builder nextToken(String 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.
-
-