All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sqladmin.model.MaintenanceWindow.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241108-2.0.0
Show newest version






MaintenanceWindow (Cloud SQL Admin API v1-rev20240925-2.0.0)












com.google.api.services.sqladmin.model

Class MaintenanceWindow

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class MaintenanceWindow
    extends com.google.api.client.json.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.
    • Constructor Detail

      • MaintenanceWindow

        public MaintenanceWindow()
    • Method Detail

      • getDay

        public Integer getDay()
        Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday.
        Returns:
        value or null for none
      • setDay

        public MaintenanceWindow setDay(Integer day)
        Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday.
        Parameters:
        day - day or null for none
      • getHour

        public Integer getHour()
        Hour of day - 0 to 23. Specify in the UTC time zone.
        Returns:
        value or null for none
      • setHour

        public MaintenanceWindow setHour(Integer hour)
        Hour of day - 0 to 23. Specify in the UTC time zone.
        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 settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance).
        Returns:
        value or null for none
      • setUpdateTrack

        public MaintenanceWindow setUpdateTrack(String updateTrack)
        Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance).
        Parameters:
        updateTrack - updateTrack or null for none
      • clone

        public MaintenanceWindow 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