public final class UpgradeEvent 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 Kubernetes 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 |
|---|
UpgradeEvent() |
| Modifier and Type | Method and Description |
|---|---|
UpgradeEvent |
clone() |
String |
getCurrentVersion()
The current version before the upgrade.
|
String |
getOperation()
The operation associated with this upgrade.
|
String |
getOperationStartTime()
The time when the operation was started.
|
String |
getResource()
Optional relative path to the resource.
|
String |
getResourceType()
The resource type that is upgrading.
|
String |
getTargetVersion()
The target version for the upgrade.
|
UpgradeEvent |
set(String fieldName,
Object value) |
UpgradeEvent |
setCurrentVersion(String currentVersion)
The current version before the upgrade.
|
UpgradeEvent |
setOperation(String operation)
The operation associated with this upgrade.
|
UpgradeEvent |
setOperationStartTime(String operationStartTime)
The time when the operation was started.
|
UpgradeEvent |
setResource(String resource)
Optional relative path to the resource.
|
UpgradeEvent |
setResourceType(String resourceType)
The resource type that is upgrading.
|
UpgradeEvent |
setTargetVersion(String targetVersion)
The target version for the upgrade.
|
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 String getCurrentVersion()
null for nonepublic UpgradeEvent setCurrentVersion(String currentVersion)
currentVersion - currentVersion or null for nonepublic String getOperation()
null for nonepublic UpgradeEvent setOperation(String operation)
operation - operation or null for nonepublic String getOperationStartTime()
null for nonepublic UpgradeEvent setOperationStartTime(String operationStartTime)
operationStartTime - operationStartTime or null for nonepublic String getResource()
null for nonepublic UpgradeEvent setResource(String resource)
resource - resource or null for nonepublic String getResourceType()
null for nonepublic UpgradeEvent setResourceType(String resourceType)
resourceType - resourceType or null for nonepublic String getTargetVersion()
null for nonepublic UpgradeEvent setTargetVersion(String targetVersion)
targetVersion - targetVersion or null for nonepublic UpgradeEvent set(String fieldName, Object value)
set in class GenericJsonpublic UpgradeEvent clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.