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

com.google.api.services.backupdr.v1.model.GcpBackupConfig Maven / Gradle / Ivy

There is a newer version: v1-rev20241030-2.0.0
Show 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.backupdr.v1.model;

/**
 * GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google
 * Cloud resources regardless of type are protected with backup plan associations.
 *
 * 

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 Backup and DR Service 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 GcpBackupConfig extends com.google.api.client.json.GenericJson { /** * The name of the backup plan. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String backupPlan; /** * The name of the backup plan association. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String backupPlanAssociation; /** * The description of the backup plan. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String backupPlanDescription; /** * The names of the backup plan rules which point to this backupvault * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List backupPlanRules; /** * The name of the backup plan. * @return value or {@code null} for none */ public java.lang.String getBackupPlan() { return backupPlan; } /** * The name of the backup plan. * @param backupPlan backupPlan or {@code null} for none */ public GcpBackupConfig setBackupPlan(java.lang.String backupPlan) { this.backupPlan = backupPlan; return this; } /** * The name of the backup plan association. * @return value or {@code null} for none */ public java.lang.String getBackupPlanAssociation() { return backupPlanAssociation; } /** * The name of the backup plan association. * @param backupPlanAssociation backupPlanAssociation or {@code null} for none */ public GcpBackupConfig setBackupPlanAssociation(java.lang.String backupPlanAssociation) { this.backupPlanAssociation = backupPlanAssociation; return this; } /** * The description of the backup plan. * @return value or {@code null} for none */ public java.lang.String getBackupPlanDescription() { return backupPlanDescription; } /** * The description of the backup plan. * @param backupPlanDescription backupPlanDescription or {@code null} for none */ public GcpBackupConfig setBackupPlanDescription(java.lang.String backupPlanDescription) { this.backupPlanDescription = backupPlanDescription; return this; } /** * The names of the backup plan rules which point to this backupvault * @return value or {@code null} for none */ public java.util.List getBackupPlanRules() { return backupPlanRules; } /** * The names of the backup plan rules which point to this backupvault * @param backupPlanRules backupPlanRules or {@code null} for none */ public GcpBackupConfig setBackupPlanRules(java.util.List backupPlanRules) { this.backupPlanRules = backupPlanRules; return this; } @Override public GcpBackupConfig set(String fieldName, Object value) { return (GcpBackupConfig) super.set(fieldName, value); } @Override public GcpBackupConfig clone() { return (GcpBackupConfig) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy