public final class FutureReservationSpecificSKUProperties
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FutureReservationSpecificSKUProperties() |
Modifier and Type | Method and Description |
---|---|
FutureReservationSpecificSKUProperties |
clone() |
AllocationSpecificSKUAllocationReservedInstanceProperties |
getInstanceProperties()
Properties of the SKU instances being reserved.
|
String |
getSourceInstanceTemplate()
The instance template that will be used to populate the ReservedInstanceProperties of the
future reservation
|
Long |
getTotalCount()
Total number of instances for which capacity assurance is requested at a future time period.
|
FutureReservationSpecificSKUProperties |
set(String fieldName,
Object value) |
FutureReservationSpecificSKUProperties |
setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties instanceProperties)
Properties of the SKU instances being reserved.
|
FutureReservationSpecificSKUProperties |
setSourceInstanceTemplate(String sourceInstanceTemplate)
The instance template that will be used to populate the ReservedInstanceProperties of the
future reservation
|
FutureReservationSpecificSKUProperties |
setTotalCount(Long totalCount)
Total number of instances for which capacity assurance is requested at a future time period.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public FutureReservationSpecificSKUProperties()
public AllocationSpecificSKUAllocationReservedInstanceProperties getInstanceProperties()
null
for nonepublic FutureReservationSpecificSKUProperties setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties instanceProperties)
instanceProperties
- instanceProperties or null
for nonepublic String getSourceInstanceTemplate()
null
for nonepublic FutureReservationSpecificSKUProperties setSourceInstanceTemplate(String sourceInstanceTemplate)
sourceInstanceTemplate
- sourceInstanceTemplate or null
for nonepublic Long getTotalCount()
null
for nonepublic FutureReservationSpecificSKUProperties setTotalCount(Long totalCount)
totalCount
- totalCount or null
for nonepublic FutureReservationSpecificSKUProperties set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FutureReservationSpecificSKUProperties clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.