Class ComputeInstanceFromTemplateScheduling.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_from_template.ComputeInstanceFromTemplateScheduling.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceFromTemplateScheduling,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceFromTemplateScheduling
@Stability(Stable) @Internal public static final class ComputeInstanceFromTemplateScheduling.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceFromTemplateScheduling
An implementation forComputeInstanceFromTemplateScheduling
-
-
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_from_template.ComputeInstanceFromTemplateScheduling
ComputeInstanceFromTemplateScheduling.Builder, ComputeInstanceFromTemplateScheduling.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceFromTemplateScheduling.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceFromTemplateScheduling.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 if the instance should be restarted if it was terminated by Compute Engine (not a user).StringgetInstanceTerminationAction()Specifies the action GCE should take when SPOT VM is preempted.ComputeInstanceFromTemplateSchedulingLocalSsdRecoveryTimeoutgetLocalSsdRecoveryTimeout()local_ssd_recovery_timeout block.ComputeInstanceFromTemplateSchedulingMaxRunDurationgetMaxRunDuration()max_run_duration block.NumbergetMinNodeCpus()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#min_node_cpus ComputeInstanceFromTemplate#min_node_cpus}.ObjectgetNodeAffinities()node_affinities block.StringgetOnHostMaintenance()Describes maintenance behavior for the instance.ComputeInstanceFromTemplateSchedulingOnInstanceStopActiongetOnInstanceStopAction()on_instance_stop_action block.ObjectgetPreemptible()Whether the instance is preemptible.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(ComputeInstanceFromTemplateScheduling.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceFromTemplateScheduling.Builder.
-
-
Method Detail
-
getAutomaticRestart
public final Object getAutomaticRestart()
Description copied from interface:ComputeInstanceFromTemplateSchedulingSpecifies if the instance should be restarted if it was terminated by Compute Engine (not a user).Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#automatic_restart ComputeInstanceFromTemplate#automatic_restart}
- Specified by:
getAutomaticRestartin interfaceComputeInstanceFromTemplateScheduling
-
getInstanceTerminationAction
public final String getInstanceTerminationAction()
Description copied from interface:ComputeInstanceFromTemplateSchedulingSpecifies 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_from_template#instance_termination_action ComputeInstanceFromTemplate#instance_termination_action}
- Specified by:
getInstanceTerminationActionin interfaceComputeInstanceFromTemplateScheduling
-
getLocalSsdRecoveryTimeout
public final ComputeInstanceFromTemplateSchedulingLocalSsdRecoveryTimeout getLocalSsdRecoveryTimeout()
Description copied from interface:ComputeInstanceFromTemplateSchedulinglocal_ssd_recovery_timeout block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#local_ssd_recovery_timeout ComputeInstanceFromTemplate#local_ssd_recovery_timeout}
- Specified by:
getLocalSsdRecoveryTimeoutin interfaceComputeInstanceFromTemplateScheduling
-
getMaxRunDuration
public final ComputeInstanceFromTemplateSchedulingMaxRunDuration getMaxRunDuration()
Description copied from interface:ComputeInstanceFromTemplateSchedulingmax_run_duration block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#max_run_duration ComputeInstanceFromTemplate#max_run_duration}
- Specified by:
getMaxRunDurationin interfaceComputeInstanceFromTemplateScheduling
-
getMinNodeCpus
public final Number getMinNodeCpus()
Description copied from interface:ComputeInstanceFromTemplateSchedulingDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#min_node_cpus ComputeInstanceFromTemplate#min_node_cpus}.- Specified by:
getMinNodeCpusin interfaceComputeInstanceFromTemplateScheduling
-
getNodeAffinities
public final Object getNodeAffinities()
Description copied from interface:ComputeInstanceFromTemplateSchedulingnode_affinities block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#node_affinities ComputeInstanceFromTemplate#node_affinities}
- Specified by:
getNodeAffinitiesin interfaceComputeInstanceFromTemplateScheduling
-
getOnHostMaintenance
public final String getOnHostMaintenance()
Description copied from interface:ComputeInstanceFromTemplateSchedulingDescribes maintenance behavior for the instance. One of MIGRATE or TERMINATE,.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#on_host_maintenance ComputeInstanceFromTemplate#on_host_maintenance}
- Specified by:
getOnHostMaintenancein interfaceComputeInstanceFromTemplateScheduling
-
getOnInstanceStopAction
public final ComputeInstanceFromTemplateSchedulingOnInstanceStopAction getOnInstanceStopAction()
Description copied from interface:ComputeInstanceFromTemplateSchedulingon_instance_stop_action block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#on_instance_stop_action ComputeInstanceFromTemplate#on_instance_stop_action}
- Specified by:
getOnInstanceStopActionin interfaceComputeInstanceFromTemplateScheduling
-
getPreemptible
public final Object getPreemptible()
Description copied from interface:ComputeInstanceFromTemplateSchedulingWhether the instance is preemptible.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#preemptible ComputeInstanceFromTemplate#preemptible}
- Specified by:
getPreemptiblein interfaceComputeInstanceFromTemplateScheduling
-
getProvisioningModel
public final String getProvisioningModel()
Description copied from interface:ComputeInstanceFromTemplateSchedulingWhether 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_from_template#provisioning_model ComputeInstanceFromTemplate#provisioning_model}
- Specified by:
getProvisioningModelin interfaceComputeInstanceFromTemplateScheduling
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-