Class ComputeRegionCommitmentResources.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_region_commitment.ComputeRegionCommitmentResources.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRegionCommitmentResources,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRegionCommitmentResources
@Stability(Stable) @Internal public static final class ComputeRegionCommitmentResources.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRegionCommitmentResources
An implementation forComputeRegionCommitmentResources
-
-
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_region_commitment.ComputeRegionCommitmentResources
ComputeRegionCommitmentResources.Builder, ComputeRegionCommitmentResources.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRegionCommitmentResources.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRegionCommitmentResources.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)StringgetAcceleratorType()Name of the accelerator type resource.StringgetAmount()The amount of the resource purchased (in a type-dependent unit, such as bytes).StringgetType()Type of resource for which this commitment applies.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(ComputeRegionCommitmentResources.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRegionCommitmentResources.Builder.
-
-
Method Detail
-
getAcceleratorType
public final String getAcceleratorType()
Description copied from interface:ComputeRegionCommitmentResourcesName of the accelerator type resource. Applicable only when the type is ACCELERATOR.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#accelerator_type ComputeRegionCommitment#accelerator_type}
- Specified by:
getAcceleratorTypein interfaceComputeRegionCommitmentResources
-
getAmount
public final String getAmount()
Description copied from interface:ComputeRegionCommitmentResourcesThe amount of the resource purchased (in a type-dependent unit, such as bytes).For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#amount ComputeRegionCommitment#amount}
- Specified by:
getAmountin interfaceComputeRegionCommitmentResources
-
getType
public final String getType()
Description copied from interface:ComputeRegionCommitmentResourcesType of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#type ComputeRegionCommitment#type}
- Specified by:
getTypein interfaceComputeRegionCommitmentResources
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-