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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCapacityTasksResponse.BuildercapacityTasks(Collection<CapacityTaskSummary> capacityTasks)Lists all the capacity tasks.ListCapacityTasksResponse.BuildercapacityTasks(Consumer<CapacityTaskSummary.Builder>... capacityTasks)Lists all the capacity tasks.ListCapacityTasksResponse.BuildercapacityTasks(CapacityTaskSummary... capacityTasks)Lists all the capacity tasks.ListCapacityTasksResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
capacityTasks
ListCapacityTasksResponse.Builder capacityTasks(Collection<CapacityTaskSummary> 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(CapacityTaskSummary... 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 to#capacityTasks(List.) - 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:
#capacityTasks(java.util.Collection)
-
nextToken
ListCapacityTasksResponse.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.
-
-