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

com.google.api.services.gkebackup.v1.model.GroupKindDependency 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.gkebackup.v1.model;

/**
 * Defines a dependency between two group kinds.
 *
 * 

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 for GKE 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 GroupKindDependency extends com.google.api.client.json.GenericJson { /** * Required. The requiring group kind requires that the other group kind be restored first. * The value may be {@code null}. */ @com.google.api.client.util.Key private GroupKind requiring; /** * Required. The satisfying group kind must be restored first in order to satisfy the dependency. * The value may be {@code null}. */ @com.google.api.client.util.Key private GroupKind satisfying; /** * Required. The requiring group kind requires that the other group kind be restored first. * @return value or {@code null} for none */ public GroupKind getRequiring() { return requiring; } /** * Required. The requiring group kind requires that the other group kind be restored first. * @param requiring requiring or {@code null} for none */ public GroupKindDependency setRequiring(GroupKind requiring) { this.requiring = requiring; return this; } /** * Required. The satisfying group kind must be restored first in order to satisfy the dependency. * @return value or {@code null} for none */ public GroupKind getSatisfying() { return satisfying; } /** * Required. The satisfying group kind must be restored first in order to satisfy the dependency. * @param satisfying satisfying or {@code null} for none */ public GroupKindDependency setSatisfying(GroupKind satisfying) { this.satisfying = satisfying; return this; } @Override public GroupKindDependency set(String fieldName, Object value) { return (GroupKindDependency) super.set(fieldName, value); } @Override public GroupKindDependency clone() { return (GroupKindDependency) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy