public final class UpcomingMaintenance
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 |
---|
UpcomingMaintenance() |
Modifier and Type | Method and Description |
---|---|
UpcomingMaintenance |
clone() |
Boolean |
getCanReschedule()
Indicates if the maintenance can be customer triggered.
|
String |
getLatestWindowStartTime()
The latest time for the planned maintenance window to start.
|
Boolean |
getMaintenanceOnShutdown()
Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
|
List<String> |
getMaintenanceReasons()
The reasons for the maintenance.
|
String |
getMaintenanceStatus() |
String |
getType()
Defines the type of maintenance.
|
String |
getWindowEndTime()
The time by which the maintenance disruption will be completed.
|
String |
getWindowStartTime()
The current start time of the maintenance window.
|
UpcomingMaintenance |
set(String fieldName,
Object value) |
UpcomingMaintenance |
setCanReschedule(Boolean canReschedule)
Indicates if the maintenance can be customer triggered.
|
UpcomingMaintenance |
setLatestWindowStartTime(String latestWindowStartTime)
The latest time for the planned maintenance window to start.
|
UpcomingMaintenance |
setMaintenanceOnShutdown(Boolean maintenanceOnShutdown)
Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
|
UpcomingMaintenance |
setMaintenanceReasons(List<String> maintenanceReasons)
The reasons for the maintenance.
|
UpcomingMaintenance |
setMaintenanceStatus(String maintenanceStatus) |
UpcomingMaintenance |
setType(String type)
Defines the type of maintenance.
|
UpcomingMaintenance |
setWindowEndTime(String windowEndTime)
The time by which the maintenance disruption will be completed.
|
UpcomingMaintenance |
setWindowStartTime(String windowStartTime)
The current start time of the maintenance window.
|
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 Boolean getCanReschedule()
null
for nonepublic UpcomingMaintenance setCanReschedule(Boolean canReschedule)
canReschedule
- canReschedule or null
for nonepublic String getLatestWindowStartTime()
null
for nonepublic UpcomingMaintenance setLatestWindowStartTime(String latestWindowStartTime)
latestWindowStartTime
- latestWindowStartTime or null
for nonepublic Boolean getMaintenanceOnShutdown()
null
for nonepublic UpcomingMaintenance setMaintenanceOnShutdown(Boolean maintenanceOnShutdown)
maintenanceOnShutdown
- maintenanceOnShutdown or null
for nonepublic List<String> getMaintenanceReasons()
null
for nonepublic UpcomingMaintenance setMaintenanceReasons(List<String> maintenanceReasons)
maintenanceReasons
- maintenanceReasons or null
for nonepublic String getMaintenanceStatus()
null
for nonepublic UpcomingMaintenance setMaintenanceStatus(String maintenanceStatus)
maintenanceStatus
- maintenanceStatus or null
for nonepublic String getType()
null
for nonepublic UpcomingMaintenance setType(String type)
type
- type or null
for nonepublic String getWindowEndTime()
null
for nonepublic UpcomingMaintenance setWindowEndTime(String windowEndTime)
windowEndTime
- windowEndTime or null
for nonepublic String getWindowStartTime()
null
for nonepublic UpcomingMaintenance setWindowStartTime(String windowStartTime)
windowStartTime
- windowStartTime or null
for nonepublic UpcomingMaintenance set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public UpcomingMaintenance clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.