target.apidocs.com.google.api.services.sql.model.MaintenanceWindow.html Maven / Gradle / Ivy
MaintenanceWindow (Cloud SQL Admin API v1beta4-rev20201007-1.30.10)
com.google.api.services.sql.model
Class MaintenanceWindow
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sql.model.MaintenanceWindow
-
public final class MaintenanceWindow
extends GenericJson
Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance
purposes.
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 Cloud SQL Admin API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
MaintenanceWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MaintenanceWindow
clone()
Integer
getDay()
day of week (1-7), starting on Monday.
Integer
getHour()
hour of day - 0 to 23.
String
getKind()
This is always *sql#maintenanceWindow*.
String
getUpdateTrack()
Maintenance timing setting: *canary* (Earlier) or *stable* (Later).
MaintenanceWindow
set(String fieldName,
Object value)
MaintenanceWindow
setDay(Integer day)
day of week (1-7), starting on Monday.
MaintenanceWindow
setHour(Integer hour)
hour of day - 0 to 23.
MaintenanceWindow
setKind(String kind)
This is always *sql#maintenanceWindow*.
MaintenanceWindow
setUpdateTrack(String updateTrack)
Maintenance timing setting: *canary* (Earlier) or *stable* (Later).
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDay
public Integer getDay()
day of week (1-7), starting on Monday.
- Returns:
- value or
null
for none
-
setDay
public MaintenanceWindow setDay(Integer day)
day of week (1-7), starting on Monday.
- Parameters:
day
- day or null
for none
-
getHour
public Integer getHour()
hour of day - 0 to 23.
- Returns:
- value or
null
for none
-
setHour
public MaintenanceWindow setHour(Integer hour)
hour of day - 0 to 23.
- Parameters:
hour
- hour or null
for none
-
getKind
public String getKind()
This is always *sql#maintenanceWindow*.
- Returns:
- value or
null
for none
-
setKind
public MaintenanceWindow setKind(String kind)
This is always *sql#maintenanceWindow*.
- Parameters:
kind
- kind or null
for none
-
getUpdateTrack
public String getUpdateTrack()
Maintenance timing setting: *canary* (Earlier) or *stable* (Later). Learn more.
- Returns:
- value or
null
for none
-
setUpdateTrack
public MaintenanceWindow setUpdateTrack(String updateTrack)
Maintenance timing setting: *canary* (Earlier) or *stable* (Later). Learn more.
- Parameters:
updateTrack
- updateTrack or null
for none
-
set
public MaintenanceWindow set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public MaintenanceWindow clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy