Interface ListWorkloadsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkloadsResponse.Builder,,ListWorkloadsResponse> SdkBuilder<ListWorkloadsResponse.Builder,,ListWorkloadsResponse> SdkPojo,SdkResponse.Builder,WellArchitectedResponse.Builder
- Enclosing class:
ListWorkloadsResponse
public static interface ListWorkloadsResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<ListWorkloadsResponse.Builder,ListWorkloadsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.workloadSummaries(Collection<WorkloadSummary> workloadSummaries) Sets the value of the WorkloadSummaries property for this object.workloadSummaries(Consumer<WorkloadSummary.Builder>... workloadSummaries) Sets the value of the WorkloadSummaries property for this object.workloadSummaries(WorkloadSummary... workloadSummaries) Sets the value of the WorkloadSummaries property for this object.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
workloadSummaries
Sets the value of the WorkloadSummaries property for this object.- Parameters:
workloadSummaries- The new value for the WorkloadSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadSummaries
Sets the value of the WorkloadSummaries property for this object.- Parameters:
workloadSummaries- The new value for the WorkloadSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadSummaries
ListWorkloadsResponse.Builder workloadSummaries(Consumer<WorkloadSummary.Builder>... workloadSummaries) Sets the value of the WorkloadSummaries property for this object. This is a convenience method that creates an instance of theWorkloadSummary.Builderavoiding the need to create one manually viaWorkloadSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkloadSummaries(List<WorkloadSummary>).- Parameters:
workloadSummaries- a consumer that will call methods onWorkloadSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-