Interface ListMonitorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>,InternetMonitorResponse.Builder,SdkBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMonitorsResponse
public static interface ListMonitorsResponse.Builder extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMonitorsResponse.Buildermonitors(Collection<Monitor> monitors)A list of monitors.ListMonitorsResponse.Buildermonitors(Consumer<Monitor.Builder>... monitors)A list of monitors.ListMonitorsResponse.Buildermonitors(Monitor... monitors)A list of monitors.ListMonitorsResponse.BuildernextToken(String nextToken)The token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorResponse.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<Monitor> monitors)
A list of monitors.
- Parameters:
monitors- A list of monitors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
ListMonitorsResponse.Builder monitors(Monitor... monitors)
A list of monitors.
- Parameters:
monitors- A list of monitors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
ListMonitorsResponse.Builder monitors(Consumer<Monitor.Builder>... monitors)
A list of monitors.
This is a convenience method that creates an instance of theMonitor.Builderavoiding the need to create one manually viaMonitor.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 onMonitor.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 set of results. You receive this token from a previous call.
- Parameters:
nextToken- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-