public final class CommitmentResourceStatusCancellationInformation
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 |
|---|
CommitmentResourceStatusCancellationInformation() |
| Modifier and Type | Method and Description |
|---|---|
CommitmentResourceStatusCancellationInformation |
clone() |
Money |
getCanceledCommitment()
[Output Only] An optional amount of CUDs canceled so far in the last 365 days.
|
String |
getCanceledCommitmentLastUpdatedTimestamp()
[Output Only] An optional last update time of canceled_commitment.
|
Money |
getCancellationCap()
[Output Only] An optional,the cancellation cap for how much commitments can be canceled in a
rolling 365 per billing account.
|
Money |
getCancellationFee()
[Output Only] An optional, cancellation fee.
|
String |
getCancellationFeeExpirationTimestamp()
[Output Only] An optional, cancellation fee expiration time.
|
CommitmentResourceStatusCancellationInformation |
set(String fieldName,
Object value) |
CommitmentResourceStatusCancellationInformation |
setCanceledCommitment(Money canceledCommitment)
[Output Only] An optional amount of CUDs canceled so far in the last 365 days.
|
CommitmentResourceStatusCancellationInformation |
setCanceledCommitmentLastUpdatedTimestamp(String canceledCommitmentLastUpdatedTimestamp)
[Output Only] An optional last update time of canceled_commitment.
|
CommitmentResourceStatusCancellationInformation |
setCancellationCap(Money cancellationCap)
[Output Only] An optional,the cancellation cap for how much commitments can be canceled in a
rolling 365 per billing account.
|
CommitmentResourceStatusCancellationInformation |
setCancellationFee(Money cancellationFee)
[Output Only] An optional, cancellation fee.
|
CommitmentResourceStatusCancellationInformation |
setCancellationFeeExpirationTimestamp(String cancellationFeeExpirationTimestamp)
[Output Only] An optional, cancellation fee expiration time.
|
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 CommitmentResourceStatusCancellationInformation()
public Money getCanceledCommitment()
null for nonepublic CommitmentResourceStatusCancellationInformation setCanceledCommitment(Money canceledCommitment)
canceledCommitment - canceledCommitment or null for nonepublic String getCanceledCommitmentLastUpdatedTimestamp()
null for nonepublic CommitmentResourceStatusCancellationInformation setCanceledCommitmentLastUpdatedTimestamp(String canceledCommitmentLastUpdatedTimestamp)
canceledCommitmentLastUpdatedTimestamp - canceledCommitmentLastUpdatedTimestamp or null for nonepublic Money getCancellationCap()
null for nonepublic CommitmentResourceStatusCancellationInformation setCancellationCap(Money cancellationCap)
cancellationCap - cancellationCap or null for nonepublic Money getCancellationFee()
null for nonepublic CommitmentResourceStatusCancellationInformation setCancellationFee(Money cancellationFee)
cancellationFee - cancellationFee or null for nonepublic String getCancellationFeeExpirationTimestamp()
null for nonepublic CommitmentResourceStatusCancellationInformation setCancellationFeeExpirationTimestamp(String cancellationFeeExpirationTimestamp)
cancellationFeeExpirationTimestamp - cancellationFeeExpirationTimestamp or null for nonepublic CommitmentResourceStatusCancellationInformation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CommitmentResourceStatusCancellationInformation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.