Interface ListWorkloadsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkloadsResponse.Builder,,ListWorkloadsResponse> LaunchWizardResponse.Builder,SdkBuilder<ListWorkloadsResponse.Builder,,ListWorkloadsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkloadsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
nextToken
The token to include in another request to get the next page of items. This value is
nullwhen 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 isnullwhen 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.Builderavoiding the need to create one manually viaWorkloadDataSummary.builder().When the
Consumercompletes,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:
-