Class ComputeRegionCommitmentResources.Jsii$Proxy

    • 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.
    • Method Detail

      • getAcceleratorType

        public final String getAcceleratorType()
        Description copied from interface: ComputeRegionCommitmentResources
        Name 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:
        getAcceleratorType in interface ComputeRegionCommitmentResources
      • getAmount

        public final String getAmount()
        Description copied from interface: ComputeRegionCommitmentResources
        The 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:
        getAmount in interface ComputeRegionCommitmentResources
      • getType

        public final String getType()
        Description copied from interface: ComputeRegionCommitmentResources
        Type 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:
        getType in interface ComputeRegionCommitmentResources
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object