Interface StartCapacityTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartCapacityTaskRequest.Builder,StartCapacityTaskRequest>,OutpostsRequest.Builder,SdkBuilder<StartCapacityTaskRequest.Builder,StartCapacityTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartCapacityTaskRequest
public static interface StartCapacityTaskRequest.Builder extends OutpostsRequest.Builder, SdkPojo, CopyableBuilder<StartCapacityTaskRequest.Builder,StartCapacityTaskRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartCapacityTaskRequest.BuilderdryRun(Boolean dryRun)You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity.StartCapacityTaskRequest.BuilderinstancePools(Collection<InstanceTypeCapacity> instancePools)The instance pools specified in the capacity task.StartCapacityTaskRequest.BuilderinstancePools(Consumer<InstanceTypeCapacity.Builder>... instancePools)The instance pools specified in the capacity task.StartCapacityTaskRequest.BuilderinstancePools(InstanceTypeCapacity... instancePools)The instance pools specified in the capacity task.StartCapacityTaskRequest.BuilderorderId(String orderId)The ID of the Amazon Web Services Outposts order associated with the specified capacity task.StartCapacityTaskRequest.BuilderoutpostIdentifier(String outpostIdentifier)The ID or ARN of the Outposts associated with the specified capacity task.StartCapacityTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartCapacityTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
outpostIdentifier
StartCapacityTaskRequest.Builder outpostIdentifier(String outpostIdentifier)
The ID or ARN of the Outposts associated with the specified capacity task.
- Parameters:
outpostIdentifier- The ID or ARN of the Outposts associated with the specified capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderId
StartCapacityTaskRequest.Builder orderId(String orderId)
The ID of the Amazon Web Services Outposts order associated with the specified capacity task.
- Parameters:
orderId- The ID of the Amazon Web Services Outposts order associated with the specified capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancePools
StartCapacityTaskRequest.Builder instancePools(Collection<InstanceTypeCapacity> instancePools)
The instance pools specified in the capacity task.
- Parameters:
instancePools- The instance pools specified in the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancePools
StartCapacityTaskRequest.Builder instancePools(InstanceTypeCapacity... instancePools)
The instance pools specified in the capacity task.
- Parameters:
instancePools- The instance pools specified in the capacity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancePools
StartCapacityTaskRequest.Builder instancePools(Consumer<InstanceTypeCapacity.Builder>... instancePools)
The instance pools specified in the capacity task.
This is a convenience method that creates an instance of theInstanceTypeCapacity.Builderavoiding the need to create one manually viaInstanceTypeCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instancePools(List.) - Parameters:
instancePools- a consumer that will call methods onInstanceTypeCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instancePools(java.util.Collection)
-
dryRun
StartCapacityTaskRequest.Builder dryRun(Boolean dryRun)
You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.
- Parameters:
dryRun- You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartCapacityTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartCapacityTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-