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

com.google.api.services.compute.model.RouterStatusNatStatus 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;

/**
 * Status of a NAT contained in this router.
 *
 * 

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 RouterStatusNatStatus extends com.google.api.client.json.GenericJson { /** * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List autoAllocatedNatIps; /** * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", * "179.12.26.133"]. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List drainAutoAllocatedNatIps; /** * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", * "179.12.26.133"]. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List drainUserAllocatedNatIps; /** * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are * NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto- * allocation of NAT IPs is *not* used. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer minExtraNatIpsNeeded; /** * Unique name of this NAT. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Number of VM endpoints (i.e., Nics) that can use NAT. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer numVmEndpointsWithNatMappings; /** * Status of rules in this NAT. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List ruleStatus; /** * A list of fully qualified URLs of reserved IP address resources. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List userAllocatedNatIpResources; /** * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List userAllocatedNatIps; /** * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] * @return value or {@code null} for none */ public java.util.List getAutoAllocatedNatIps() { return autoAllocatedNatIps; } /** * A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] * @param autoAllocatedNatIps autoAllocatedNatIps or {@code null} for none */ public RouterStatusNatStatus setAutoAllocatedNatIps(java.util.List autoAllocatedNatIps) { this.autoAllocatedNatIps = autoAllocatedNatIps; return this; } /** * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", * "179.12.26.133"]. * @return value or {@code null} for none */ public java.util.List getDrainAutoAllocatedNatIps() { return drainAutoAllocatedNatIps; } /** * A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", * "179.12.26.133"]. * @param drainAutoAllocatedNatIps drainAutoAllocatedNatIps or {@code null} for none */ public RouterStatusNatStatus setDrainAutoAllocatedNatIps(java.util.List drainAutoAllocatedNatIps) { this.drainAutoAllocatedNatIps = drainAutoAllocatedNatIps; return this; } /** * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", * "179.12.26.133"]. * @return value or {@code null} for none */ public java.util.List getDrainUserAllocatedNatIps() { return drainUserAllocatedNatIps; } /** * A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", * "179.12.26.133"]. * @param drainUserAllocatedNatIps drainUserAllocatedNatIps or {@code null} for none */ public RouterStatusNatStatus setDrainUserAllocatedNatIps(java.util.List drainUserAllocatedNatIps) { this.drainUserAllocatedNatIps = drainUserAllocatedNatIps; return this; } /** * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are * NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto- * allocation of NAT IPs is *not* used. * @return value or {@code null} for none */ public java.lang.Integer getMinExtraNatIpsNeeded() { return minExtraNatIpsNeeded; } /** * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are * NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto- * allocation of NAT IPs is *not* used. * @param minExtraNatIpsNeeded minExtraNatIpsNeeded or {@code null} for none */ public RouterStatusNatStatus setMinExtraNatIpsNeeded(java.lang.Integer minExtraNatIpsNeeded) { this.minExtraNatIpsNeeded = minExtraNatIpsNeeded; return this; } /** * Unique name of this NAT. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Unique name of this NAT. * @param name name or {@code null} for none */ public RouterStatusNatStatus setName(java.lang.String name) { this.name = name; return this; } /** * Number of VM endpoints (i.e., Nics) that can use NAT. * @return value or {@code null} for none */ public java.lang.Integer getNumVmEndpointsWithNatMappings() { return numVmEndpointsWithNatMappings; } /** * Number of VM endpoints (i.e., Nics) that can use NAT. * @param numVmEndpointsWithNatMappings numVmEndpointsWithNatMappings or {@code null} for none */ public RouterStatusNatStatus setNumVmEndpointsWithNatMappings(java.lang.Integer numVmEndpointsWithNatMappings) { this.numVmEndpointsWithNatMappings = numVmEndpointsWithNatMappings; return this; } /** * Status of rules in this NAT. * @return value or {@code null} for none */ public java.util.List getRuleStatus() { return ruleStatus; } /** * Status of rules in this NAT. * @param ruleStatus ruleStatus or {@code null} for none */ public RouterStatusNatStatus setRuleStatus(java.util.List ruleStatus) { this.ruleStatus = ruleStatus; return this; } /** * A list of fully qualified URLs of reserved IP address resources. * @return value or {@code null} for none */ public java.util.List getUserAllocatedNatIpResources() { return userAllocatedNatIpResources; } /** * A list of fully qualified URLs of reserved IP address resources. * @param userAllocatedNatIpResources userAllocatedNatIpResources or {@code null} for none */ public RouterStatusNatStatus setUserAllocatedNatIpResources(java.util.List userAllocatedNatIpResources) { this.userAllocatedNatIpResources = userAllocatedNatIpResources; return this; } /** * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". * @return value or {@code null} for none */ public java.util.List getUserAllocatedNatIps() { return userAllocatedNatIps; } /** * A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". * @param userAllocatedNatIps userAllocatedNatIps or {@code null} for none */ public RouterStatusNatStatus setUserAllocatedNatIps(java.util.List userAllocatedNatIps) { this.userAllocatedNatIps = userAllocatedNatIps; return this; } @Override public RouterStatusNatStatus set(String fieldName, Object value) { return (RouterStatusNatStatus) super.set(fieldName, value); } @Override public RouterStatusNatStatus clone() { return (RouterStatusNatStatus) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy