public final class CapacityAdviceResponseRecommendationShard
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 |
|---|
CapacityAdviceResponseRecommendationShard() |
| Modifier and Type | Method and Description |
|---|---|
CapacityAdviceResponseRecommendationShard |
clone() |
Integer |
getInstanceCount()
The number of instances.
|
String |
getMachineType()
The machine type corresponds to the instance selection in the request.
|
String |
getProvisioningModel()
The provisioning model that you want to view recommendations for.
|
String |
getZone()
Output only.
|
CapacityAdviceResponseRecommendationShard |
set(String fieldName,
Object value) |
CapacityAdviceResponseRecommendationShard |
setInstanceCount(Integer instanceCount)
The number of instances.
|
CapacityAdviceResponseRecommendationShard |
setMachineType(String machineType)
The machine type corresponds to the instance selection in the request.
|
CapacityAdviceResponseRecommendationShard |
setProvisioningModel(String provisioningModel)
The provisioning model that you want to view recommendations for.
|
CapacityAdviceResponseRecommendationShard |
setZone(String zone)
Output only.
|
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 CapacityAdviceResponseRecommendationShard()
public Integer getInstanceCount()
null for nonepublic CapacityAdviceResponseRecommendationShard setInstanceCount(Integer instanceCount)
instanceCount - instanceCount or null for nonepublic String getMachineType()
null for nonepublic CapacityAdviceResponseRecommendationShard setMachineType(String machineType)
machineType - machineType or null for nonepublic String getProvisioningModel()
null for nonepublic CapacityAdviceResponseRecommendationShard setProvisioningModel(String provisioningModel)
provisioningModel - provisioningModel or null for nonepublic String getZone()
null for nonepublic CapacityAdviceResponseRecommendationShard setZone(String zone)
zone - zone or null for nonepublic CapacityAdviceResponseRecommendationShard set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CapacityAdviceResponseRecommendationShard clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.