Interface ModifyInstanceCpuOptionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>,Ec2Request.Builder,SdkBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyInstanceCpuOptionsRequest
@Mutable @NotThreadSafe 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.BuildercoreCount(Integer coreCount)The number of CPU cores to activate for the specified instance.ModifyInstanceCpuOptionsRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response.ModifyInstanceCpuOptionsRequest.BuilderinstanceId(String instanceId)The ID of the instance to update.ModifyInstanceCpuOptionsRequest.BuildernestedVirtualization(String nestedVirtualization)Indicates whether to enable or disable nested virtualization for the instance.ModifyInstanceCpuOptionsRequest.BuildernestedVirtualization(NestedVirtualizationSpecification nestedVirtualization)Indicates whether to enable or disable nested virtualization for the instance.ModifyInstanceCpuOptionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyInstanceCpuOptionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyInstanceCpuOptionsRequest.BuilderthreadsPerCore(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, sdkFieldNameToField, 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.
-
nestedVirtualization
ModifyInstanceCpuOptionsRequest.Builder nestedVirtualization(String nestedVirtualization)
Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.
- Parameters:
nestedVirtualization- Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NestedVirtualizationSpecification,NestedVirtualizationSpecification
-
nestedVirtualization
ModifyInstanceCpuOptionsRequest.Builder nestedVirtualization(NestedVirtualizationSpecification nestedVirtualization)
Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.
- Parameters:
nestedVirtualization- Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NestedVirtualizationSpecification,NestedVirtualizationSpecification
-
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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyInstanceCpuOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-