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

com.google.api.services.compute.model.UpcomingMaintenance Maven / Gradle / Ivy

The newest version!
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.compute.model;

/**
 * Upcoming Maintenance notification information.
 *
 * 

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 *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class UpcomingMaintenance extends com.google.api.client.json.GenericJson { /** * Indicates if the maintenance can be customer triggered. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean canReschedule; /** * The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 * text format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String latestWindowStartTime; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String maintenanceStatus; /** * Defines the type of maintenance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The time by which the maintenance disruption will be completed. This timestamp value is in * RFC3339 text format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String windowEndTime; /** * The current start time of the maintenance window. This timestamp value is in RFC3339 text * format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String windowStartTime; /** * Indicates if the maintenance can be customer triggered. * @return value or {@code null} for none */ public java.lang.Boolean getCanReschedule() { return canReschedule; } /** * Indicates if the maintenance can be customer triggered. * @param canReschedule canReschedule or {@code null} for none */ public UpcomingMaintenance setCanReschedule(java.lang.Boolean canReschedule) { this.canReschedule = canReschedule; return this; } /** * The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 * text format. * @return value or {@code null} for none */ public java.lang.String getLatestWindowStartTime() { return latestWindowStartTime; } /** * The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 * text format. * @param latestWindowStartTime latestWindowStartTime or {@code null} for none */ public UpcomingMaintenance setLatestWindowStartTime(java.lang.String latestWindowStartTime) { this.latestWindowStartTime = latestWindowStartTime; return this; } /** * @return value or {@code null} for none */ public java.lang.String getMaintenanceStatus() { return maintenanceStatus; } /** * @param maintenanceStatus maintenanceStatus or {@code null} for none */ public UpcomingMaintenance setMaintenanceStatus(java.lang.String maintenanceStatus) { this.maintenanceStatus = maintenanceStatus; return this; } /** * Defines the type of maintenance. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * Defines the type of maintenance. * @param type type or {@code null} for none */ public UpcomingMaintenance setType(java.lang.String type) { this.type = type; return this; } /** * The time by which the maintenance disruption will be completed. This timestamp value is in * RFC3339 text format. * @return value or {@code null} for none */ public java.lang.String getWindowEndTime() { return windowEndTime; } /** * The time by which the maintenance disruption will be completed. This timestamp value is in * RFC3339 text format. * @param windowEndTime windowEndTime or {@code null} for none */ public UpcomingMaintenance setWindowEndTime(java.lang.String windowEndTime) { this.windowEndTime = windowEndTime; return this; } /** * The current start time of the maintenance window. This timestamp value is in RFC3339 text * format. * @return value or {@code null} for none */ public java.lang.String getWindowStartTime() { return windowStartTime; } /** * The current start time of the maintenance window. This timestamp value is in RFC3339 text * format. * @param windowStartTime windowStartTime or {@code null} for none */ public UpcomingMaintenance setWindowStartTime(java.lang.String windowStartTime) { this.windowStartTime = windowStartTime; return this; } @Override public UpcomingMaintenance set(String fieldName, Object value) { return (UpcomingMaintenance) super.set(fieldName, value); } @Override public UpcomingMaintenance clone() { return (UpcomingMaintenance) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy