Interface ListCapacityTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCapacityTasksResponse.Builder,,ListCapacityTasksResponse> OutpostsResponse.Builder,SdkBuilder<ListCapacityTasksResponse.Builder,,ListCapacityTasksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCapacityTasksResponse
public static interface ListCapacityTasksResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListCapacityTasksResponse.Builder,ListCapacityTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityTasks(Collection<CapacityTaskSummary> capacityTasks) Lists all the capacity tasks.capacityTasks(Consumer<CapacityTaskSummary.Builder>... capacityTasks) Lists all the capacity tasks.capacityTasks(CapacityTaskSummary... capacityTasks) Lists all the capacity tasks.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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
-
capacityTasks
Lists all the capacity tasks.
- Parameters:
capacityTasks- Lists all the capacity tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityTasks
Lists all the capacity tasks.
- Parameters:
capacityTasks- Lists all the capacity tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityTasks
ListCapacityTasksResponse.Builder capacityTasks(Consumer<CapacityTaskSummary.Builder>... capacityTasks) Lists all the capacity tasks.
This is a convenience method that creates an instance of theCapacityTaskSummary.Builderavoiding the need to create one manually viaCapacityTaskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityTasks(List<CapacityTaskSummary>).- Parameters:
capacityTasks- a consumer that will call methods onCapacityTaskSummary.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.
-