Class ComputeRegionCommitmentConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_region_commitment.ComputeRegionCommitmentConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRegionCommitmentConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRegionCommitmentConfig
@Stability(Stable) @Internal public static final class ComputeRegionCommitmentConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRegionCommitmentConfig
An implementation forComputeRegionCommitmentConfig
-
-
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.ComputeRegionCommitmentConfig
ComputeRegionCommitmentConfig.Builder, ComputeRegionCommitmentConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRegionCommitmentConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRegionCommitmentConfig.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)ObjectgetAutoRenew()Specifies whether to enable automatic renewal for the commitment.StringgetCategory()The category of the commitment.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_region_commitment#id ComputeRegionCommitment#id}.ComputeRegionCommitmentLicenseResourcegetLicenseResource()license_resource block.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetName()Name of the resource.StringgetPlan()The plan for this commitment, which determines duration and discount rate.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#project ComputeRegionCommitment#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()URL of the region where this commitment may be used.ObjectgetResources()resources block.ComputeRegionCommitmentTimeoutsgetTimeouts()timeouts block.StringgetType()The type of commitment, which affects the discount rate and the eligible resources.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(ComputeRegionCommitmentConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRegionCommitmentConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeRegionCommitmentConfigName of the resource.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_region_commitment#name ComputeRegionCommitment#name}
- Specified by:
getNamein interfaceComputeRegionCommitmentConfig
-
getPlan
public final String getPlan()
Description copied from interface:ComputeRegionCommitmentConfigThe plan for this commitment, which determines duration and discount rate.The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). Possible values: ["TWELVE_MONTH", "THIRTY_SIX_MONTH"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#plan ComputeRegionCommitment#plan}
- Specified by:
getPlanin interfaceComputeRegionCommitmentConfig
-
getAutoRenew
public final Object getAutoRenew()
Description copied from interface:ComputeRegionCommitmentConfigSpecifies whether to enable automatic renewal for the commitment.The default value is false if not specified. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#auto_renew ComputeRegionCommitment#auto_renew}
- Specified by:
getAutoRenewin interfaceComputeRegionCommitmentConfig
-
getCategory
public final String getCategory()
Description copied from interface:ComputeRegionCommitmentConfigThe category of the commitment.Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. Possible values: ["LICENSE", "MACHINE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#category ComputeRegionCommitment#category}
- Specified by:
getCategoryin interfaceComputeRegionCommitmentConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeRegionCommitmentConfigAn optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#description ComputeRegionCommitment#description}
- Specified by:
getDescriptionin interfaceComputeRegionCommitmentConfig
-
getId
public final String getId()
Description copied from interface:ComputeRegionCommitmentConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#id ComputeRegionCommitment#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 interfaceComputeRegionCommitmentConfig
-
getLicenseResource
public final ComputeRegionCommitmentLicenseResource getLicenseResource()
Description copied from interface:ComputeRegionCommitmentConfiglicense_resource block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#license_resource ComputeRegionCommitment#license_resource}
- Specified by:
getLicenseResourcein interfaceComputeRegionCommitmentConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeRegionCommitmentConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#project ComputeRegionCommitment#project}.- Specified by:
getProjectin interfaceComputeRegionCommitmentConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeRegionCommitmentConfigURL of the region where this commitment may be used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#region ComputeRegionCommitment#region}
- Specified by:
getRegionin interfaceComputeRegionCommitmentConfig
-
getResources
public final Object getResources()
Description copied from interface:ComputeRegionCommitmentConfigresources block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#resources ComputeRegionCommitment#resources}
- Specified by:
getResourcesin interfaceComputeRegionCommitmentConfig
-
getTimeouts
public final ComputeRegionCommitmentTimeouts getTimeouts()
Description copied from interface:ComputeRegionCommitmentConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_commitment#timeouts ComputeRegionCommitment#timeouts}
- Specified by:
getTimeoutsin interfaceComputeRegionCommitmentConfig
-
getType
public final String getType()
Description copied from interface:ComputeRegionCommitmentConfigThe type of commitment, which affects the discount rate and the eligible resources.The type could be one of the following value: 'MEMORY_OPTIMIZED', 'ACCELERATOR_OPTIMIZED', 'GENERAL_PURPOSE_N1', 'GENERAL_PURPOSE_N2', 'GENERAL_PURPOSE_N2D', 'GENERAL_PURPOSE_E2', 'GENERAL_PURPOSE_T2D', 'GENERAL_PURPOSE_C3', 'COMPUTE_OPTIMIZED_C2', 'COMPUTE_OPTIMIZED_C2D' and 'GRAPHICS_OPTIMIZED_G2' 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 interfaceComputeRegionCommitmentConfig
-
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
-
-