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

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

/**
 * An access configuration attached to an instance's network interface. Only one access config per
 * instance is supported.
 *
 * 

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 AccessConfig extends com.google.api.client.json.GenericJson { /** * Optional. The external IPv6 address of this access configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String externalIpv6; /** * Optional. The prefix length of the external IPv6 range. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer externalIpv6PrefixLength; /** * Optional. The name of this access configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Optional. The external IP address of this access configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String natIP; /** * Optional. This signifies the networking tier used for configuring this access * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String networkTier; /** * Optional. The DNS domain name for the public PTR record. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String publicPtrDomainName; /** * Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP * address of the instance to a DNS domain name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean setPublicPtr; /** * Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In * ipv6AccessConfigs, the default and only option is DIRECT_IPV6. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Optional. The external IPv6 address of this access configuration. * @return value or {@code null} for none */ public java.lang.String getExternalIpv6() { return externalIpv6; } /** * Optional. The external IPv6 address of this access configuration. * @param externalIpv6 externalIpv6 or {@code null} for none */ public AccessConfig setExternalIpv6(java.lang.String externalIpv6) { this.externalIpv6 = externalIpv6; return this; } /** * Optional. The prefix length of the external IPv6 range. * @return value or {@code null} for none */ public java.lang.Integer getExternalIpv6PrefixLength() { return externalIpv6PrefixLength; } /** * Optional. The prefix length of the external IPv6 range. * @param externalIpv6PrefixLength externalIpv6PrefixLength or {@code null} for none */ public AccessConfig setExternalIpv6PrefixLength(java.lang.Integer externalIpv6PrefixLength) { this.externalIpv6PrefixLength = externalIpv6PrefixLength; return this; } /** * Optional. The name of this access configuration. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Optional. The name of this access configuration. * @param name name or {@code null} for none */ public AccessConfig setName(java.lang.String name) { this.name = name; return this; } /** * Optional. The external IP address of this access configuration. * @return value or {@code null} for none */ public java.lang.String getNatIP() { return natIP; } /** * Optional. The external IP address of this access configuration. * @param natIP natIP or {@code null} for none */ public AccessConfig setNatIP(java.lang.String natIP) { this.natIP = natIP; return this; } /** * Optional. This signifies the networking tier used for configuring this access * @return value or {@code null} for none */ public java.lang.String getNetworkTier() { return networkTier; } /** * Optional. This signifies the networking tier used for configuring this access * @param networkTier networkTier or {@code null} for none */ public AccessConfig setNetworkTier(java.lang.String networkTier) { this.networkTier = networkTier; return this; } /** * Optional. The DNS domain name for the public PTR record. * @return value or {@code null} for none */ public java.lang.String getPublicPtrDomainName() { return publicPtrDomainName; } /** * Optional. The DNS domain name for the public PTR record. * @param publicPtrDomainName publicPtrDomainName or {@code null} for none */ public AccessConfig setPublicPtrDomainName(java.lang.String publicPtrDomainName) { this.publicPtrDomainName = publicPtrDomainName; return this; } /** * Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP * address of the instance to a DNS domain name. * @return value or {@code null} for none */ public java.lang.Boolean getSetPublicPtr() { return setPublicPtr; } /** * Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP * address of the instance to a DNS domain name. * @param setPublicPtr setPublicPtr or {@code null} for none */ public AccessConfig setSetPublicPtr(java.lang.Boolean setPublicPtr) { this.setPublicPtr = setPublicPtr; return this; } /** * Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In * ipv6AccessConfigs, the default and only option is DIRECT_IPV6. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In * ipv6AccessConfigs, the default and only option is DIRECT_IPV6. * @param type type or {@code null} for none */ public AccessConfig setType(java.lang.String type) { this.type = type; return this; } @Override public AccessConfig set(String fieldName, Object value) { return (AccessConfig) super.set(fieldName, value); } @Override public AccessConfig clone() { return (AccessConfig) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy