Interface ListMonitorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMonitorsResponse.Builder,
,ListMonitorsResponse> ForecastResponse.Builder
,SdkBuilder<ListMonitorsResponse.Builder,
,ListMonitorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMonitorsResponse
public static interface ListMonitorsResponse.Builder
extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmonitors
(Collection<MonitorSummary> monitors) An array of objects that summarize each monitor's properties.monitors
(Consumer<MonitorSummary.Builder>... monitors) An array of objects that summarize each monitor's properties.monitors
(MonitorSummary... monitors) An array of objects that summarize each monitor's properties.If the response is truncated, Amazon Forecast returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.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
An array of objects that summarize each monitor's properties.
- Parameters:
monitors
- An array of objects that summarize each monitor's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
An array of objects that summarize each monitor's properties.
- Parameters:
monitors
- An array of objects that summarize each monitor's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
An array of objects that summarize each monitor's properties.
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
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
- Parameters:
nextToken
- If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-