Interface ListWorkloadsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorkloadsResponse.Builder,
,ListWorkloadsResponse> LaunchWizardResponse.Builder
,SdkBuilder<ListWorkloadsResponse.Builder,
,ListWorkloadsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorkloadsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkloadsResponse.Builder
extends LaunchWizardResponse.Builder, SdkPojo, CopyableBuilder<ListWorkloadsResponse.Builder,ListWorkloadsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to include in another request to get the next page of items.workloads
(Collection<WorkloadDataSummary> workloads) Information about the workloads.workloads
(Consumer<WorkloadDataSummary.Builder>... workloads) Information about the workloads.workloads
(WorkloadDataSummary... workloads) Information about the workloads.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloads
Information about the workloads.
- Parameters:
workloads
- Information about the workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloads
Information about the workloads.
- Parameters:
workloads
- Information about the workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloads
Information about the workloads.
This is a convenience method that creates an instance of theWorkloadDataSummary.Builder
avoiding the need to create one manually viaWorkloadDataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkloads(List<WorkloadDataSummary>)
.- Parameters:
workloads
- a consumer that will call methods onWorkloadDataSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-