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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaWorkload.builder().When the
Consumercompletes,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.
 
 
 -