Interface ModifyInstanceCpuOptionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>
,Ec2Request.Builder
,SdkBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyInstanceCpuOptionsRequest
public static interface ModifyInstanceCpuOptionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyInstanceCpuOptionsRequest.Builder
coreCount(Integer coreCount)
The number of CPU cores to activate for the specified instance.ModifyInstanceCpuOptionsRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response.ModifyInstanceCpuOptionsRequest.Builder
instanceId(String instanceId)
The ID of the instance to update.ModifyInstanceCpuOptionsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyInstanceCpuOptionsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyInstanceCpuOptionsRequest.Builder
threadsPerCore(Integer threadsPerCore)
The number of threads to run for each CPU core.-
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.ec2.model.Ec2Request.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
-
instanceId
ModifyInstanceCpuOptionsRequest.Builder instanceId(String instanceId)
The ID of the instance to update.
- Parameters:
instanceId
- The ID of the instance to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreCount
ModifyInstanceCpuOptionsRequest.Builder coreCount(Integer coreCount)
The number of CPU cores to activate for the specified instance.
- Parameters:
coreCount
- The number of CPU cores to activate for the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threadsPerCore
ModifyInstanceCpuOptionsRequest.Builder threadsPerCore(Integer threadsPerCore)
The number of threads to run for each CPU core.
- Parameters:
threadsPerCore
- The number of threads to run for each CPU core.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
ModifyInstanceCpuOptionsRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyInstanceCpuOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyInstanceCpuOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-