Class ComputeReservationConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_reservation.ComputeReservationConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeReservationConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeReservationConfig
@Stability(Stable) @Internal public static final class ComputeReservationConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeReservationConfig
An implementation forComputeReservationConfig
-
-
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_reservation.ComputeReservationConfig
ComputeReservationConfig.Builder, ComputeReservationConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeReservationConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeReservationConfig.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)ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()An optional description of this resource.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#id ComputeReservation#id}.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetName()Name of the resource.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#project ComputeReservation#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()ComputeReservationShareSettingsgetShareSettings()share_settings block.ComputeReservationSpecificReservationgetSpecificReservation()specific_reservation block.ObjectgetSpecificReservationRequired()When set to true, only VMs that target this reservation by name can consume this reservation.ComputeReservationTimeoutsgetTimeouts()timeouts block.StringgetZone()The zone where the reservation is made.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(ComputeReservationConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeReservationConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeReservationConfigName of the resource.Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#name ComputeReservation#name}
- Specified by:
getNamein interfaceComputeReservationConfig
-
getSpecificReservation
public final ComputeReservationSpecificReservation getSpecificReservation()
Description copied from interface:ComputeReservationConfigspecific_reservation block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#specific_reservation ComputeReservation#specific_reservation}
- Specified by:
getSpecificReservationin interfaceComputeReservationConfig
-
getZone
public final String getZone()
Description copied from interface:ComputeReservationConfigThe zone where the reservation is made.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#zone ComputeReservation#zone}
- Specified by:
getZonein interfaceComputeReservationConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeReservationConfigAn optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#description ComputeReservation#description}
- Specified by:
getDescriptionin interfaceComputeReservationConfig
-
getId
public final String getId()
Description copied from interface:ComputeReservationConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#id ComputeReservation#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceComputeReservationConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeReservationConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#project ComputeReservation#project}.- Specified by:
getProjectin interfaceComputeReservationConfig
-
getShareSettings
public final ComputeReservationShareSettings getShareSettings()
Description copied from interface:ComputeReservationConfigshare_settings block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#share_settings ComputeReservation#share_settings}
- Specified by:
getShareSettingsin interfaceComputeReservationConfig
-
getSpecificReservationRequired
public final Object getSpecificReservationRequired()
Description copied from interface:ComputeReservationConfigWhen set to true, only VMs that target this reservation by name can consume this reservation.Otherwise, it can be consumed by VMs with affinity for any reservation. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#specific_reservation_required ComputeReservation#specific_reservation_required}
- Specified by:
getSpecificReservationRequiredin interfaceComputeReservationConfig
-
getTimeouts
public final ComputeReservationTimeouts getTimeouts()
Description copied from interface:ComputeReservationConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#timeouts ComputeReservation#timeouts}
- Specified by:
getTimeoutsin interfaceComputeReservationConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-