Interface ListWorkloadsResponse.Builder
- All Superinterfaces:
ApplicationInsightsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorkloadsResponse.Builder,
,ListWorkloadsResponse> SdkBuilder<ListWorkloadsResponse.Builder,
,ListWorkloadsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorkloadsResponse
public static interface ListWorkloadsResponse.Builder
extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<ListWorkloadsResponse.Builder,ListWorkloadsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to request the next page of results.workloadList
(Collection<Workload> workloadList) The list of workloads.workloadList
(Consumer<Workload.Builder>... workloadList) The list of workloads.workloadList
(Workload... workloadList) The list of workloads.Methods inherited from interface software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
workloadList
The list of workloads.
- Parameters:
workloadList
- The list of workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadList
The list of workloads.
- Parameters:
workloadList
- The list of workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadList
The list of workloads.
This is a convenience method that creates an instance of theWorkload.Builder
avoiding the need to create one manually viaWorkload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkloadList(List<Workload>)
.- Parameters:
workloadList
- a consumer that will call methods onWorkload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to request the next page of results.
- Parameters:
nextToken
- The token to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-