Interface ListBlockingInstancesForCapacityTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBlockingInstancesForCapacityTaskResponse.Builder,ListBlockingInstancesForCapacityTaskResponse>,OutpostsResponse.Builder,SdkBuilder<ListBlockingInstancesForCapacityTaskResponse.Builder,ListBlockingInstancesForCapacityTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBlockingInstancesForCapacityTaskResponse
public static interface ListBlockingInstancesForCapacityTaskResponse.Builder extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListBlockingInstancesForCapacityTaskResponse.Builder,ListBlockingInstancesForCapacityTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBlockingInstancesForCapacityTaskResponse.BuilderblockingInstances(Collection<BlockingInstance> blockingInstances)A list of all running Amazon EC2 instances on the Outpost.ListBlockingInstancesForCapacityTaskResponse.BuilderblockingInstances(Consumer<BlockingInstance.Builder>... blockingInstances)A list of all running Amazon EC2 instances on the Outpost.ListBlockingInstancesForCapacityTaskResponse.BuilderblockingInstances(BlockingInstance... blockingInstances)A list of all running Amazon EC2 instances on the Outpost.ListBlockingInstancesForCapacityTaskResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
blockingInstances
ListBlockingInstancesForCapacityTaskResponse.Builder blockingInstances(Collection<BlockingInstance> blockingInstances)
A list of all running Amazon EC2 instances on the Outpost. Stopping one or more of these instances can free up the capacity needed to run the capacity task.
- Parameters:
blockingInstances- A list of all running Amazon EC2 instances on the Outpost. Stopping one or more of these instances can free up the capacity needed to run the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockingInstances
ListBlockingInstancesForCapacityTaskResponse.Builder blockingInstances(BlockingInstance... blockingInstances)
A list of all running Amazon EC2 instances on the Outpost. Stopping one or more of these instances can free up the capacity needed to run the capacity task.
- Parameters:
blockingInstances- A list of all running Amazon EC2 instances on the Outpost. Stopping one or more of these instances can free up the capacity needed to run the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockingInstances
ListBlockingInstancesForCapacityTaskResponse.Builder blockingInstances(Consumer<BlockingInstance.Builder>... blockingInstances)
A list of all running Amazon EC2 instances on the Outpost. Stopping one or more of these instances can free up the capacity needed to run the capacity task.
This is a convenience method that creates an instance of theBlockingInstance.Builderavoiding the need to create one manually viaBlockingInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#blockingInstances(List.) - Parameters:
blockingInstances- a consumer that will call methods onBlockingInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#blockingInstances(java.util.Collection)
-
nextToken
ListBlockingInstancesForCapacityTaskResponse.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.
-
-