public final class CostScenario
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 Cloud Billing 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 |
|---|
CostScenario() |
| Modifier and Type | Method and Description |
|---|---|
CostScenario |
clone() |
List<Commitment> |
getCommitments()
New commitments to estimate the costs for.
|
ScenarioConfig |
getScenarioConfig()
Configuration for the scenario.
|
List<Workload> |
getWorkloads()
The Google Cloud usage whose costs are estimated.
|
CostScenario |
set(String fieldName,
Object value) |
CostScenario |
setCommitments(List<Commitment> commitments)
New commitments to estimate the costs for.
|
CostScenario |
setScenarioConfig(ScenarioConfig scenarioConfig)
Configuration for the scenario.
|
CostScenario |
setWorkloads(List<Workload> workloads)
The Google Cloud usage whose costs are estimated.
|
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 List<Commitment> getCommitments()
null for nonepublic CostScenario setCommitments(List<Commitment> commitments)
commitments - commitments or null for nonepublic ScenarioConfig getScenarioConfig()
null for nonepublic CostScenario setScenarioConfig(ScenarioConfig scenarioConfig)
scenarioConfig - scenarioConfig or null for nonepublic List<Workload> getWorkloads()
null for nonepublic CostScenario setWorkloads(List<Workload> workloads)
workloads - workloads or null for nonepublic CostScenario set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CostScenario clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.