public final class DeprecationStatus
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.Flags
AbstractMap.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.
|
RolloutPolicy |
getStateOverride()
The rollout policy for this deprecation.
|
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.
|
DeprecationStatus |
setStateOverride(RolloutPolicy stateOverride)
The rollout policy for this deprecation.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 RolloutPolicy getStateOverride()
null
for nonepublic DeprecationStatus setStateOverride(RolloutPolicy stateOverride)
stateOverride
- stateOverride or null
for nonepublic DeprecationStatus set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DeprecationStatus clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.