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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkloadsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListWorkloadsResponse.BuilderworkloadSummaries(Collection<WorkloadSummary> workloadSummaries)Sets the value of the WorkloadSummaries property for this object.ListWorkloadsResponse.BuilderworkloadSummaries(Consumer<WorkloadSummary.Builder>... workloadSummaries)Sets the value of the WorkloadSummaries property for this object.ListWorkloadsResponse.BuilderworkloadSummaries(WorkloadSummary... workloadSummaries)Sets the value of the WorkloadSummaries property for this object.-
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
-
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
workloadSummaries
ListWorkloadsResponse.Builder workloadSummaries(Collection<WorkloadSummary> 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(WorkloadSummary... 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 to#workloadSummaries(List.) - 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:
#workloadSummaries(java.util.Collection)
-
nextToken
ListWorkloadsResponse.Builder nextToken(String 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.
-
-