Class ComputeInstanceTemplateAdvancedMachineFeatures.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateAdvancedMachineFeatures.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceTemplateAdvancedMachineFeatures,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceTemplateAdvancedMachineFeatures
@Stability(Stable) @Internal public static final class ComputeInstanceTemplateAdvancedMachineFeatures.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceTemplateAdvancedMachineFeatures
An implementation forComputeInstanceTemplateAdvancedMachineFeatures
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateAdvancedMachineFeatures
ComputeInstanceTemplateAdvancedMachineFeatures.Builder, ComputeInstanceTemplateAdvancedMachineFeatures.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceTemplateAdvancedMachineFeatures.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateAdvancedMachineFeatures.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetEnableNestedVirtualization()Whether to enable nested virtualization or not.NumbergetThreadsPerCore()The number of threads per physical core.NumbergetVisibleCoreCount()The number of physical cores to expose to an instance.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeInstanceTemplateAdvancedMachineFeatures.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateAdvancedMachineFeatures.Builder.
-
-
Method Detail
-
getEnableNestedVirtualization
public final Object getEnableNestedVirtualization()
Description copied from interface:ComputeInstanceTemplateAdvancedMachineFeaturesWhether to enable nested virtualization or not.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#enable_nested_virtualization ComputeInstanceTemplate#enable_nested_virtualization}
- Specified by:
getEnableNestedVirtualizationin interfaceComputeInstanceTemplateAdvancedMachineFeatures
-
getThreadsPerCore
public final Number getThreadsPerCore()
Description copied from interface:ComputeInstanceTemplateAdvancedMachineFeaturesThe number of threads per physical core.To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#threads_per_core ComputeInstanceTemplate#threads_per_core}
- Specified by:
getThreadsPerCorein interfaceComputeInstanceTemplateAdvancedMachineFeatures
-
getVisibleCoreCount
public final Number getVisibleCoreCount()
Description copied from interface:ComputeInstanceTemplateAdvancedMachineFeaturesThe number of physical cores to expose to an instance.Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#visible_core_count ComputeInstanceTemplate#visible_core_count}
- Specified by:
getVisibleCoreCountin interfaceComputeInstanceTemplateAdvancedMachineFeatures
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-