public final class FutureResourcesSpec
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 |
|---|
FutureResourcesSpec() |
| Modifier and Type | Method and Description |
|---|---|
FutureResourcesSpec |
clone() |
String |
getDeploymentType()
Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).
|
FutureResourcesSpecLocationPolicy |
getLocationPolicy()
Optional location policy allowing to exclude some zone(s) in which the resources must not be
created.
|
FutureResourcesSpecTargetResources |
getTargetResources()
Specification of the reserved resources.
|
FlexibleTimeRange |
getTimeRangeSpec()
Specification of a time range in which the resources may be created.
|
FutureResourcesSpec |
set(String fieldName,
Object value) |
FutureResourcesSpec |
setDeploymentType(String deploymentType)
Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).
|
FutureResourcesSpec |
setLocationPolicy(FutureResourcesSpecLocationPolicy locationPolicy)
Optional location policy allowing to exclude some zone(s) in which the resources must not be
created.
|
FutureResourcesSpec |
setTargetResources(FutureResourcesSpecTargetResources targetResources)
Specification of the reserved resources.
|
FutureResourcesSpec |
setTimeRangeSpec(FlexibleTimeRange timeRangeSpec)
Specification of a time range in which the resources may be created.
|
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 String getDeploymentType()
null for nonepublic FutureResourcesSpec setDeploymentType(String deploymentType)
deploymentType - deploymentType or null for nonepublic FutureResourcesSpecLocationPolicy getLocationPolicy()
null for nonepublic FutureResourcesSpec setLocationPolicy(FutureResourcesSpecLocationPolicy locationPolicy)
locationPolicy - locationPolicy or null for nonepublic FutureResourcesSpecTargetResources getTargetResources()
null for nonepublic FutureResourcesSpec setTargetResources(FutureResourcesSpecTargetResources targetResources)
targetResources - targetResources or null for nonepublic FlexibleTimeRange getTimeRangeSpec()
null for nonepublic FutureResourcesSpec setTimeRangeSpec(FlexibleTimeRange timeRangeSpec)
timeRangeSpec - timeRangeSpec or null for nonepublic FutureResourcesSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FutureResourcesSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.