Interface StartCapacityTaskRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<StartCapacityTaskRequest.Builder,,- StartCapacityTaskRequest> - OutpostsRequest.Builder,- SdkBuilder<StartCapacityTaskRequest.Builder,,- StartCapacityTaskRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- StartCapacityTaskRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe ID of the Outpost asset.You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity.instancePools(Collection<InstanceTypeCapacity> instancePools) The instance pools specified in the capacity task.instancePools(Consumer<InstanceTypeCapacity.Builder>... instancePools) The instance pools specified in the capacity task.instancePools(InstanceTypeCapacity... instancePools) The instance pools specified in the capacity task.default StartCapacityTaskRequest.BuilderinstancesToExclude(Consumer<InstancesToExclude.Builder> instancesToExclude) List of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task.instancesToExclude(InstancesToExclude instancesToExclude) List of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task.The ID of the Amazon Web Services Outposts order associated with the specified capacity task.outpostIdentifier(String outpostIdentifier) The ID or ARN of the Outposts associated with the specified capacity task.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.taskActionOnBlockingInstances(String taskActionOnBlockingInstances) Specify one of the following options in case an instance is blocking the capacity task from running.taskActionOnBlockingInstances(TaskActionOnBlockingInstances taskActionOnBlockingInstances) Specify one of the following options in case an instance is blocking the capacity task from running.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
outpostIdentifierThe 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.
 
- 
orderIdThe 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.
 
- 
assetIdThe ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration. - Parameters:
- assetId- The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
instancePoolsThe 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.
 
- 
instancePoolsThe 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.
 
- 
instancePoolsStartCapacityTaskRequest.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 toinstancePools(List<InstanceTypeCapacity>).- Parameters:
- instancePools- a consumer that will call methods on- InstanceTypeCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instancesToExcludeList of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task. - Parameters:
- instancesToExclude- List of user-specified running instances that must not be stopped in order to 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.
 
- 
instancesToExcludedefault StartCapacityTaskRequest.Builder instancesToExclude(Consumer<InstancesToExclude.Builder> instancesToExclude) List of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task. This is a convenience method that creates an instance of theInstancesToExclude.Builderavoiding the need to create one manually viaInstancesToExclude.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstancesToExclude(InstancesToExclude).- Parameters:
- instancesToExclude- a consumer that will call methods on- InstancesToExclude.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dryRunYou 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.
 
- 
taskActionOnBlockingInstancesStartCapacityTaskRequest.Builder taskActionOnBlockingInstances(String taskActionOnBlockingInstances) Specify one of the following options in case an instance is blocking the capacity task from running. - 
 WAIT_FOR_EVACUATION- Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.
- 
 FAIL_TASK- The capacity task fails.
 - Parameters:
- taskActionOnBlockingInstances- Specify one of the following options in case an instance is blocking the capacity task from running.- 
        WAIT_FOR_EVACUATION- Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.
- 
        FAIL_TASK- The capacity task fails.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
taskActionOnBlockingInstancesStartCapacityTaskRequest.Builder taskActionOnBlockingInstances(TaskActionOnBlockingInstances taskActionOnBlockingInstances) Specify one of the following options in case an instance is blocking the capacity task from running. - 
 WAIT_FOR_EVACUATION- Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.
- 
 FAIL_TASK- The capacity task fails.
 - Parameters:
- taskActionOnBlockingInstances- Specify one of the following options in case an instance is blocking the capacity task from running.- 
        WAIT_FOR_EVACUATION- Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.
- 
        FAIL_TASK- The capacity task fails.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
overrideConfigurationStartCapacityTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationStartCapacityTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-