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

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

/*
 * 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;

/**
 * Configuration of preserved resources.
 *
 * 

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 StatefulPolicyPreservedState extends com.google.api.client.json.GenericJson { /** * Disks created on the instances that will be preserved on instance delete, update, etc. This map * is keyed with the device names of the disks. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map disks; /** * External network IPs assigned to the instances that will be preserved on instance delete, * update, etc. This map is keyed with the network interface name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map externalIPs; /** * Internal network IPs assigned to the instances that will be preserved on instance delete, * update, etc. This map is keyed with the network interface name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map internalIPs; /** * Disks created on the instances that will be preserved on instance delete, update, etc. This map * is keyed with the device names of the disks. * @return value or {@code null} for none */ public java.util.Map getDisks() { return disks; } /** * Disks created on the instances that will be preserved on instance delete, update, etc. This map * is keyed with the device names of the disks. * @param disks disks or {@code null} for none */ public StatefulPolicyPreservedState setDisks(java.util.Map disks) { this.disks = disks; return this; } /** * External network IPs assigned to the instances that will be preserved on instance delete, * update, etc. This map is keyed with the network interface name. * @return value or {@code null} for none */ public java.util.Map getExternalIPs() { return externalIPs; } /** * External network IPs assigned to the instances that will be preserved on instance delete, * update, etc. This map is keyed with the network interface name. * @param externalIPs externalIPs or {@code null} for none */ public StatefulPolicyPreservedState setExternalIPs(java.util.Map externalIPs) { this.externalIPs = externalIPs; return this; } /** * Internal network IPs assigned to the instances that will be preserved on instance delete, * update, etc. This map is keyed with the network interface name. * @return value or {@code null} for none */ public java.util.Map getInternalIPs() { return internalIPs; } /** * Internal network IPs assigned to the instances that will be preserved on instance delete, * update, etc. This map is keyed with the network interface name. * @param internalIPs internalIPs or {@code null} for none */ public StatefulPolicyPreservedState setInternalIPs(java.util.Map internalIPs) { this.internalIPs = internalIPs; return this; } @Override public StatefulPolicyPreservedState set(String fieldName, Object value) { return (StatefulPolicyPreservedState) super.set(fieldName, value); } @Override public StatefulPolicyPreservedState clone() { return (StatefulPolicyPreservedState) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy