Class ComputeInstanceTemplateScheduling.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateScheduling.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceTemplateScheduling,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceTemplateScheduling
@Stability(Stable) @Internal public static final class ComputeInstanceTemplateScheduling.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceTemplateScheduling
An implementation forComputeInstanceTemplateScheduling
-
-
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.ComputeInstanceTemplateScheduling
ComputeInstanceTemplateScheduling.Builder, ComputeInstanceTemplateScheduling.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceTemplateScheduling.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateScheduling.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)ObjectgetAutomaticRestart()Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).StringgetInstanceTerminationAction()Specifies the action GCE should take when SPOT VM is preempted.ObjectgetLocalSsdRecoveryTimeout()local_ssd_recovery_timeout block.ComputeInstanceTemplateSchedulingMaxRunDurationgetMaxRunDuration()max_run_duration block.NumbergetMinNodeCpus()Minimum number of cpus for the instance.ObjectgetNodeAffinities()node_affinities block.StringgetOnHostMaintenance()Defines the maintenance behavior for this instance.ComputeInstanceTemplateSchedulingOnInstanceStopActiongetOnInstanceStopAction()on_instance_stop_action block.ObjectgetPreemptible()Allows instance to be preempted.StringgetProvisioningModel()Whether the instance is spot.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(ComputeInstanceTemplateScheduling.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateScheduling.Builder.
-
-
Method Detail
-
getAutomaticRestart
public final Object getAutomaticRestart()
Description copied from interface:ComputeInstanceTemplateSchedulingSpecifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).This defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#automatic_restart ComputeInstanceTemplate#automatic_restart}
- Specified by:
getAutomaticRestartin interfaceComputeInstanceTemplateScheduling
-
getInstanceTerminationAction
public final String getInstanceTerminationAction()
Description copied from interface:ComputeInstanceTemplateSchedulingSpecifies the action GCE should take when SPOT VM is preempted.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#instance_termination_action ComputeInstanceTemplate#instance_termination_action}
- Specified by:
getInstanceTerminationActionin interfaceComputeInstanceTemplateScheduling
-
getLocalSsdRecoveryTimeout
public final Object getLocalSsdRecoveryTimeout()
Description copied from interface:ComputeInstanceTemplateSchedulinglocal_ssd_recovery_timeout block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#local_ssd_recovery_timeout ComputeInstanceTemplate#local_ssd_recovery_timeout}
- Specified by:
getLocalSsdRecoveryTimeoutin interfaceComputeInstanceTemplateScheduling
-
getMaxRunDuration
public final ComputeInstanceTemplateSchedulingMaxRunDuration getMaxRunDuration()
Description copied from interface:ComputeInstanceTemplateSchedulingmax_run_duration block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#max_run_duration ComputeInstanceTemplate#max_run_duration}
- Specified by:
getMaxRunDurationin interfaceComputeInstanceTemplateScheduling
-
getMinNodeCpus
public final Number getMinNodeCpus()
Description copied from interface:ComputeInstanceTemplateSchedulingMinimum number of cpus for the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#min_node_cpus ComputeInstanceTemplate#min_node_cpus}
- Specified by:
getMinNodeCpusin interfaceComputeInstanceTemplateScheduling
-
getNodeAffinities
public final Object getNodeAffinities()
Description copied from interface:ComputeInstanceTemplateSchedulingnode_affinities block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#node_affinities ComputeInstanceTemplate#node_affinities}
- Specified by:
getNodeAffinitiesin interfaceComputeInstanceTemplateScheduling
-
getOnHostMaintenance
public final String getOnHostMaintenance()
Description copied from interface:ComputeInstanceTemplateSchedulingDefines the maintenance behavior for this instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#on_host_maintenance ComputeInstanceTemplate#on_host_maintenance}
- Specified by:
getOnHostMaintenancein interfaceComputeInstanceTemplateScheduling
-
getOnInstanceStopAction
public final ComputeInstanceTemplateSchedulingOnInstanceStopAction getOnInstanceStopAction()
Description copied from interface:ComputeInstanceTemplateSchedulingon_instance_stop_action block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#on_instance_stop_action ComputeInstanceTemplate#on_instance_stop_action}
- Specified by:
getOnInstanceStopActionin interfaceComputeInstanceTemplateScheduling
-
getPreemptible
public final Object getPreemptible()
Description copied from interface:ComputeInstanceTemplateSchedulingAllows instance to be preempted. This defaults to false.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#preemptible ComputeInstanceTemplate#preemptible}
- Specified by:
getPreemptiblein interfaceComputeInstanceTemplateScheduling
-
getProvisioningModel
public final String getProvisioningModel()
Description copied from interface:ComputeInstanceTemplateSchedulingWhether the instance is spot. If this is set as SPOT.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#provisioning_model ComputeInstanceTemplate#provisioning_model}
- Specified by:
getProvisioningModelin interfaceComputeInstanceTemplateScheduling
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-