public final class DeprecationStatus extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DeprecationStatus() |
| Modifier and Type | Method and Description |
|---|---|
DeprecationStatus |
clone() |
String |
getDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to DELETED.
|
String |
getDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to DEPRECATED.
|
String |
getObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to OBSOLETE.
|
String |
getReplacement()
The URL of the suggested replacement for a deprecated resource.
|
String |
getState()
The deprecation state of this resource.
|
DeprecationStatus |
set(String fieldName,
Object value) |
DeprecationStatus |
setDeleted(String deleted)
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to DELETED.
|
DeprecationStatus |
setDeprecated(String deprecated)
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to DEPRECATED.
|
DeprecationStatus |
setObsolete(String obsolete)
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to OBSOLETE.
|
DeprecationStatus |
setReplacement(String replacement)
The URL of the suggested replacement for a deprecated resource.
|
DeprecationStatus |
setState(String state)
The deprecation state of this resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDeleted()
null for nonepublic DeprecationStatus setDeleted(String deleted)
deleted - deleted or null for nonepublic String getDeprecated()
null for nonepublic DeprecationStatus setDeprecated(String deprecated)
deprecated - deprecated or null for nonepublic String getObsolete()
null for nonepublic DeprecationStatus setObsolete(String obsolete)
obsolete - obsolete or null for nonepublic String getReplacement()
null for nonepublic DeprecationStatus setReplacement(String replacement)
replacement - replacement or null for nonepublic String getState()
null for nonepublic DeprecationStatus setState(String state)
state - state or null for nonepublic DeprecationStatus set(String fieldName, Object value)
set in class GenericJsonpublic DeprecationStatus clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.