Class ComputeInstanceScheduling.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceScheduling.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceScheduling,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceScheduling
@Stability(Stable) @Internal public static final class ComputeInstanceScheduling.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceScheduling
An implementation forComputeInstanceScheduling
-
-
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.ComputeInstanceScheduling
ComputeInstanceScheduling.Builder, ComputeInstanceScheduling.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceScheduling.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceScheduling.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.ComputeInstanceSchedulingLocalSsdRecoveryTimeoutgetLocalSsdRecoveryTimeout()local_ssd_recovery_timeout block.ComputeInstanceSchedulingMaxRunDurationgetMaxRunDuration()max_run_duration block.NumbergetMinNodeCpus()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#min_node_cpus ComputeInstance#min_node_cpus}.ObjectgetNodeAffinities()node_affinities block.StringgetOnHostMaintenance()Describes maintenance behavior for the instance.ComputeInstanceSchedulingOnInstanceStopActiongetOnInstanceStopAction()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(ComputeInstanceScheduling.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceScheduling.Builder.
-
-
Method Detail
-
getAutomaticRestart
public final Object getAutomaticRestart()
Description copied from interface:ComputeInstanceSchedulingSpecifies 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#automatic_restart ComputeInstance#automatic_restart}
- Specified by:
getAutomaticRestartin interfaceComputeInstanceScheduling
-
getInstanceTerminationAction
public final String getInstanceTerminationAction()
Description copied from interface:ComputeInstanceSchedulingSpecifies 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#instance_termination_action ComputeInstance#instance_termination_action}
- Specified by:
getInstanceTerminationActionin interfaceComputeInstanceScheduling
-
getLocalSsdRecoveryTimeout
public final ComputeInstanceSchedulingLocalSsdRecoveryTimeout getLocalSsdRecoveryTimeout()
Description copied from interface:ComputeInstanceSchedulinglocal_ssd_recovery_timeout block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#local_ssd_recovery_timeout ComputeInstance#local_ssd_recovery_timeout}
- Specified by:
getLocalSsdRecoveryTimeoutin interfaceComputeInstanceScheduling
-
getMaxRunDuration
public final ComputeInstanceSchedulingMaxRunDuration getMaxRunDuration()
Description copied from interface:ComputeInstanceSchedulingmax_run_duration block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#max_run_duration ComputeInstance#max_run_duration}
- Specified by:
getMaxRunDurationin interfaceComputeInstanceScheduling
-
getMinNodeCpus
public final Number getMinNodeCpus()
Description copied from interface:ComputeInstanceSchedulingDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#min_node_cpus ComputeInstance#min_node_cpus}.- Specified by:
getMinNodeCpusin interfaceComputeInstanceScheduling
-
getNodeAffinities
public final Object getNodeAffinities()
Description copied from interface:ComputeInstanceSchedulingnode_affinities block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#node_affinities ComputeInstance#node_affinities}
- Specified by:
getNodeAffinitiesin interfaceComputeInstanceScheduling
-
getOnHostMaintenance
public final String getOnHostMaintenance()
Description copied from interface:ComputeInstanceSchedulingDescribes 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#on_host_maintenance ComputeInstance#on_host_maintenance}
- Specified by:
getOnHostMaintenancein interfaceComputeInstanceScheduling
-
getOnInstanceStopAction
public final ComputeInstanceSchedulingOnInstanceStopAction getOnInstanceStopAction()
Description copied from interface:ComputeInstanceSchedulingon_instance_stop_action block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#on_instance_stop_action ComputeInstance#on_instance_stop_action}
- Specified by:
getOnInstanceStopActionin interfaceComputeInstanceScheduling
-
getPreemptible
public final Object getPreemptible()
Description copied from interface:ComputeInstanceSchedulingWhether the instance is preemptible.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#preemptible ComputeInstance#preemptible}
- Specified by:
getPreemptiblein interfaceComputeInstanceScheduling
-
getProvisioningModel
public final String getProvisioningModel()
Description copied from interface:ComputeInstanceSchedulingWhether 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#provisioning_model ComputeInstance#provisioning_model}
- Specified by:
getProvisioningModelin interfaceComputeInstanceScheduling
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-