public final class SegmentCostEstimate
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 |
|---|
SegmentCostEstimate() |
| Modifier and Type | Method and Description |
|---|---|
SegmentCostEstimate |
clone() |
List<CommitmentCostEstimate> |
getCommitmentCostEstimates()
Estimated costs for each commitment.
|
EstimationTimePoint |
getSegmentStartTime()
Timestamp for the start of the segment.
|
CostEstimate |
getSegmentTotalCostEstimate()
Total estimated costs for the time segment.
|
List<WorkloadCostEstimate> |
getWorkloadCostEstimates()
Estimated costs for each workload.
|
SegmentCostEstimate |
set(String fieldName,
Object value) |
SegmentCostEstimate |
setCommitmentCostEstimates(List<CommitmentCostEstimate> commitmentCostEstimates)
Estimated costs for each commitment.
|
SegmentCostEstimate |
setSegmentStartTime(EstimationTimePoint segmentStartTime)
Timestamp for the start of the segment.
|
SegmentCostEstimate |
setSegmentTotalCostEstimate(CostEstimate segmentTotalCostEstimate)
Total estimated costs for the time segment.
|
SegmentCostEstimate |
setWorkloadCostEstimates(List<WorkloadCostEstimate> workloadCostEstimates)
Estimated costs for each workload.
|
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<CommitmentCostEstimate> getCommitmentCostEstimates()
null for nonepublic SegmentCostEstimate setCommitmentCostEstimates(List<CommitmentCostEstimate> commitmentCostEstimates)
commitmentCostEstimates - commitmentCostEstimates or null for nonepublic EstimationTimePoint getSegmentStartTime()
null for nonepublic SegmentCostEstimate setSegmentStartTime(EstimationTimePoint segmentStartTime)
segmentStartTime - segmentStartTime or null for nonepublic CostEstimate getSegmentTotalCostEstimate()
null for nonepublic SegmentCostEstimate setSegmentTotalCostEstimate(CostEstimate segmentTotalCostEstimate)
segmentTotalCostEstimate - segmentTotalCostEstimate or null for nonepublic List<WorkloadCostEstimate> getWorkloadCostEstimates()
null for nonepublic SegmentCostEstimate setWorkloadCostEstimates(List<WorkloadCostEstimate> workloadCostEstimates)
workloadCostEstimates - workloadCostEstimates or null for nonepublic SegmentCostEstimate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic SegmentCostEstimate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.