Interface ModifyInstanceCpuOptionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>, Ec2Request.Builder, SdkBuilder<ModifyInstanceCpuOptionsRequest.Builder,ModifyInstanceCpuOptionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyInstanceCpuOptionsRequest

  • Method Details

    • 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

      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:
    • 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:
    • 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 is UnauthorizedOperation.

      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 is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      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 interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder