public final class LicenseResourceCommitment extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| LicenseResourceCommitment() | 
| Modifier and Type | Method and Description | 
|---|---|
| LicenseResourceCommitment | clone() | 
| Long | getAmount()The number of licenses purchased. | 
| String | getCoresPerLicense()Specifies the core range of the instance for which this license applies. | 
| String | getLicense()Any applicable license URI. | 
| LicenseResourceCommitment | set(String fieldName,
   Object value) | 
| LicenseResourceCommitment | setAmount(Long amount)The number of licenses purchased. | 
| LicenseResourceCommitment | setCoresPerLicense(String coresPerLicense)Specifies the core range of the instance for which this license applies. | 
| LicenseResourceCommitment | setLicense(String license)Any applicable license URI. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getAmount()
null for nonepublic LicenseResourceCommitment setAmount(Long amount)
amount - amount or null for nonepublic String getCoresPerLicense()
null for nonepublic LicenseResourceCommitment setCoresPerLicense(String coresPerLicense)
coresPerLicense - coresPerLicense or null for nonepublic String getLicense()
null for nonepublic LicenseResourceCommitment setLicense(String license)
license - license or null for nonepublic LicenseResourceCommitment set(String fieldName, Object value)
set in class GenericJsonpublic LicenseResourceCommitment clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.