target.apidocs.com.google.api.services.sqladmin.model.DenyMaintenancePeriod.html Maven / Gradle / Ivy
The newest version!
DenyMaintenancePeriod (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin.model
Class DenyMaintenancePeriod
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.DenyMaintenancePeriod
-
public final class DenyMaintenancePeriod
extends com.google.api.client.json.GenericJson
Deny maintenance Periods. This specifies a date range during when all CSA rollout will be denied.
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
com.google.api.client.util.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
DenyMaintenancePeriod()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DenyMaintenancePeriod
clone()
String
getEndDate()
"deny maintenance period" end date.
String
getStartDate()
"deny maintenance period" start date.
String
getTime()
Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date.
DenyMaintenancePeriod
set(String fieldName,
Object value)
DenyMaintenancePeriod
setEndDate(String endDate)
"deny maintenance period" end date.
DenyMaintenancePeriod
setStartDate(String startDate)
"deny maintenance period" start date.
DenyMaintenancePeriod
setTime(String time)
Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date.
-
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
-
getEndDate
public String getEndDate()
"deny maintenance period" end date. If the year of the end date is empty, the year of the start
date also must be empty. In this case, it means the no maintenance interval recurs every year.
The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Returns:
- value or
null
for none
-
setEndDate
public DenyMaintenancePeriod setEndDate(String endDate)
"deny maintenance period" end date. If the year of the end date is empty, the year of the start
date also must be empty. In this case, it means the no maintenance interval recurs every year.
The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Parameters:
endDate
- endDate or null
for none
-
getStartDate
public String getStartDate()
"deny maintenance period" start date. If the year of the start date is empty, the year of the
end date also must be empty. In this case, it means the deny maintenance period recurs every
year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Returns:
- value or
null
for none
-
setStartDate
public DenyMaintenancePeriod setStartDate(String startDate)
"deny maintenance period" start date. If the year of the start date is empty, the year of the
end date also must be empty. In this case, it means the deny maintenance period recurs every
year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Parameters:
startDate
- startDate or null
for none
-
getTime
public String getTime()
Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The
time is in format: HH:mm:SS, i.e., 00:00:00
- Returns:
- value or
null
for none
-
setTime
public DenyMaintenancePeriod setTime(String time)
Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The
time is in format: HH:mm:SS, i.e., 00:00:00
- Parameters:
time
- time or null
for none
-
set
public DenyMaintenancePeriod set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DenyMaintenancePeriod clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy