Interface ModifyInstanceCpuOptionsRequest.Builder

  • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.