public final class PersistentDiskResourceCommitment
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PersistentDiskResourceCommitment() |
| Modifier and Type | Method and Description |
|---|---|
PersistentDiskResourceCommitment |
clone() |
Long |
getAmount()
Required.
|
String |
getDimensionType()
The specific dimension of the product for this amount.
|
String |
getProductType()
The PD product being committed to.
|
PersistentDiskResourceCommitment |
set(String fieldName,
Object value) |
PersistentDiskResourceCommitment |
setAmount(Long amount)
Required.
|
PersistentDiskResourceCommitment |
setDimensionType(String dimensionType)
The specific dimension of the product for this amount.
|
PersistentDiskResourceCommitment |
setProductType(String productType)
The PD product being committed to.
|
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 PersistentDiskResourceCommitment setAmount(Long amount)
amount - amount or null for nonepublic String getDimensionType()
null for nonepublic PersistentDiskResourceCommitment setDimensionType(String dimensionType)
dimensionType - dimensionType or null for nonepublic String getProductType()
null for nonepublic PersistentDiskResourceCommitment setProductType(String productType)
productType - productType or null for nonepublic PersistentDiskResourceCommitment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PersistentDiskResourceCommitment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.