Interface ModifyInstanceCpuOptionsRequest.Builder

    • 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 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.