All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.ResourceCommitment.html Maven / Gradle / Ivy







ResourceCommitment (Compute Engine API v1-rev20200104-1.30.8)












com.google.api.services.compute.model

Class ResourceCommitment

    • Constructor Detail

      • ResourceCommitment

        public ResourceCommitment()
    • Method Detail

      • getAcceleratorType

        public String getAcceleratorType()
        Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
        Returns:
        value or null for none
      • setAcceleratorType

        public ResourceCommitment setAcceleratorType(String acceleratorType)
        Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
        Parameters:
        acceleratorType - acceleratorType or null for none
      • getAmount

        public Long getAmount()
        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.
        Returns:
        value or null for none
      • setAmount

        public ResourceCommitment setAmount(Long amount)
        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.
        Parameters:
        amount - amount or null for none
      • getType

        public String getType()
        Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
        Returns:
        value or null for none
      • setType

        public ResourceCommitment setType(String type)
        Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
        Parameters:
        type - type or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy