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

software.amazon.awssdk.services.ec2.model.VpnConnectionOptionsSpecification Maven / Gradle / Ivy

/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file 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.
 */

package software.amazon.awssdk.services.ec2.model;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.ListTrait;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.core.util.DefaultSdkAutoConstructList;
import software.amazon.awssdk.core.util.SdkAutoConstructList;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;

/**
 * 

* Describes VPN connection options. *

*/ @Generated("software.amazon.awssdk:codegen") public final class VpnConnectionOptionsSpecification implements SdkPojo, Serializable, ToCopyableBuilder { private static final SdkField ENABLE_ACCELERATION_FIELD = SdkField . builder(MarshallingType.BOOLEAN) .memberName("EnableAcceleration") .getter(getter(VpnConnectionOptionsSpecification::enableAcceleration)) .setter(setter(Builder::enableAcceleration)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("EnableAcceleration") .unmarshallLocationName("EnableAcceleration").build()).build(); private static final SdkField STATIC_ROUTES_ONLY_FIELD = SdkField . builder(MarshallingType.BOOLEAN) .memberName("StaticRoutesOnly") .getter(getter(VpnConnectionOptionsSpecification::staticRoutesOnly)) .setter(setter(Builder::staticRoutesOnly)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("StaticRoutesOnly") .unmarshallLocationName("staticRoutesOnly").build()).build(); private static final SdkField TUNNEL_INSIDE_IP_VERSION_FIELD = SdkField . builder(MarshallingType.STRING) .memberName("TunnelInsideIpVersion") .getter(getter(VpnConnectionOptionsSpecification::tunnelInsideIpVersionAsString)) .setter(setter(Builder::tunnelInsideIpVersion)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TunnelInsideIpVersion") .unmarshallLocationName("TunnelInsideIpVersion").build()).build(); private static final SdkField> TUNNEL_OPTIONS_FIELD = SdkField .> builder(MarshallingType.LIST) .memberName("TunnelOptions") .getter(getter(VpnConnectionOptionsSpecification::tunnelOptions)) .setter(setter(Builder::tunnelOptions)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TunnelOptions") .unmarshallLocationName("TunnelOptions").build(), ListTrait .builder() .memberLocationName(null) .memberFieldInfo( SdkField. builder(MarshallingType.SDK_POJO) .constructor(VpnTunnelOptionsSpecification::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD) .locationName("member").unmarshallLocationName("member").build()).build()) .build()).build(); private static final SdkField LOCAL_IPV4_NETWORK_CIDR_FIELD = SdkField . builder(MarshallingType.STRING) .memberName("LocalIpv4NetworkCidr") .getter(getter(VpnConnectionOptionsSpecification::localIpv4NetworkCidr)) .setter(setter(Builder::localIpv4NetworkCidr)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LocalIpv4NetworkCidr") .unmarshallLocationName("LocalIpv4NetworkCidr").build()).build(); private static final SdkField REMOTE_IPV4_NETWORK_CIDR_FIELD = SdkField . builder(MarshallingType.STRING) .memberName("RemoteIpv4NetworkCidr") .getter(getter(VpnConnectionOptionsSpecification::remoteIpv4NetworkCidr)) .setter(setter(Builder::remoteIpv4NetworkCidr)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("RemoteIpv4NetworkCidr") .unmarshallLocationName("RemoteIpv4NetworkCidr").build()).build(); private static final SdkField LOCAL_IPV6_NETWORK_CIDR_FIELD = SdkField . builder(MarshallingType.STRING) .memberName("LocalIpv6NetworkCidr") .getter(getter(VpnConnectionOptionsSpecification::localIpv6NetworkCidr)) .setter(setter(Builder::localIpv6NetworkCidr)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LocalIpv6NetworkCidr") .unmarshallLocationName("LocalIpv6NetworkCidr").build()).build(); private static final SdkField REMOTE_IPV6_NETWORK_CIDR_FIELD = SdkField . builder(MarshallingType.STRING) .memberName("RemoteIpv6NetworkCidr") .getter(getter(VpnConnectionOptionsSpecification::remoteIpv6NetworkCidr)) .setter(setter(Builder::remoteIpv6NetworkCidr)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("RemoteIpv6NetworkCidr") .unmarshallLocationName("RemoteIpv6NetworkCidr").build()).build(); private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(ENABLE_ACCELERATION_FIELD, STATIC_ROUTES_ONLY_FIELD, TUNNEL_INSIDE_IP_VERSION_FIELD, TUNNEL_OPTIONS_FIELD, LOCAL_IPV4_NETWORK_CIDR_FIELD, REMOTE_IPV4_NETWORK_CIDR_FIELD, LOCAL_IPV6_NETWORK_CIDR_FIELD, REMOTE_IPV6_NETWORK_CIDR_FIELD)); private static final long serialVersionUID = 1L; private final Boolean enableAcceleration; private final Boolean staticRoutesOnly; private final String tunnelInsideIpVersion; private final List tunnelOptions; private final String localIpv4NetworkCidr; private final String remoteIpv4NetworkCidr; private final String localIpv6NetworkCidr; private final String remoteIpv6NetworkCidr; private VpnConnectionOptionsSpecification(BuilderImpl builder) { this.enableAcceleration = builder.enableAcceleration; this.staticRoutesOnly = builder.staticRoutesOnly; this.tunnelInsideIpVersion = builder.tunnelInsideIpVersion; this.tunnelOptions = builder.tunnelOptions; this.localIpv4NetworkCidr = builder.localIpv4NetworkCidr; this.remoteIpv4NetworkCidr = builder.remoteIpv4NetworkCidr; this.localIpv6NetworkCidr = builder.localIpv6NetworkCidr; this.remoteIpv6NetworkCidr = builder.remoteIpv6NetworkCidr; } /** *

* Indicate whether to enable acceleration for the VPN connection. *

*

* Default: false *

* * @return Indicate whether to enable acceleration for the VPN connection.

*

* Default: false */ public Boolean enableAcceleration() { return enableAcceleration; } /** *

* Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device * that does not support BGP, you must specify true. Use CreateVpnConnectionRoute to create a * static route. *

*

* Default: false *

* * @return Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a * device that does not support BGP, you must specify true. Use CreateVpnConnectionRoute * to create a static route.

*

* Default: false */ public Boolean staticRoutesOnly() { return staticRoutesOnly; } /** *

* Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. *

*

* Default: ipv4 *

*

* If the service returns an enum value that is not available in the current SDK version, * {@link #tunnelInsideIpVersion} will return {@link TunnelInsideIpVersion#UNKNOWN_TO_SDK_VERSION}. The raw value * returned by the service is available from {@link #tunnelInsideIpVersionAsString}. *

* * @return Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

*

* Default: ipv4 * @see TunnelInsideIpVersion */ public TunnelInsideIpVersion tunnelInsideIpVersion() { return TunnelInsideIpVersion.fromValue(tunnelInsideIpVersion); } /** *

* Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. *

*

* Default: ipv4 *

*

* If the service returns an enum value that is not available in the current SDK version, * {@link #tunnelInsideIpVersion} will return {@link TunnelInsideIpVersion#UNKNOWN_TO_SDK_VERSION}. The raw value * returned by the service is available from {@link #tunnelInsideIpVersionAsString}. *

* * @return Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

*

* Default: ipv4 * @see TunnelInsideIpVersion */ public String tunnelInsideIpVersionAsString() { return tunnelInsideIpVersion; } /** * Returns true if the TunnelOptions property was specified by the sender (it may be empty), or false if the sender * did not specify the value (it will be empty). For responses returned by the SDK, the sender is the AWS service. */ public boolean hasTunnelOptions() { return tunnelOptions != null && !(tunnelOptions instanceof SdkAutoConstructList); } /** *

* The tunnel options for the VPN connection. *

*

* Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. *

*

* You can use {@link #hasTunnelOptions()} to see if a value was sent in this field. *

* * @return The tunnel options for the VPN connection. */ public List tunnelOptions() { return tunnelOptions; } /** *

* The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. *

*

* Default: 0.0.0.0/0 *

* * @return The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

*

* Default: 0.0.0.0/0 */ public String localIpv4NetworkCidr() { return localIpv4NetworkCidr; } /** *

* The IPv4 CIDR on the AWS side of the VPN connection. *

*

* Default: 0.0.0.0/0 *

* * @return The IPv4 CIDR on the AWS side of the VPN connection.

*

* Default: 0.0.0.0/0 */ public String remoteIpv4NetworkCidr() { return remoteIpv4NetworkCidr; } /** *

* The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. *

*

* Default: ::/0 *

* * @return The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

*

* Default: ::/0 */ public String localIpv6NetworkCidr() { return localIpv6NetworkCidr; } /** *

* The IPv6 CIDR on the AWS side of the VPN connection. *

*

* Default: ::/0 *

* * @return The IPv6 CIDR on the AWS side of the VPN connection.

*

* Default: ::/0 */ public String remoteIpv6NetworkCidr() { return remoteIpv6NetworkCidr; } @Override public Builder toBuilder() { return new BuilderImpl(this); } public static Builder builder() { return new BuilderImpl(); } public static Class serializableBuilderClass() { return BuilderImpl.class; } @Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(enableAcceleration()); hashCode = 31 * hashCode + Objects.hashCode(staticRoutesOnly()); hashCode = 31 * hashCode + Objects.hashCode(tunnelInsideIpVersionAsString()); hashCode = 31 * hashCode + Objects.hashCode(tunnelOptions()); hashCode = 31 * hashCode + Objects.hashCode(localIpv4NetworkCidr()); hashCode = 31 * hashCode + Objects.hashCode(remoteIpv4NetworkCidr()); hashCode = 31 * hashCode + Objects.hashCode(localIpv6NetworkCidr()); hashCode = 31 * hashCode + Objects.hashCode(remoteIpv6NetworkCidr()); return hashCode; } @Override public boolean equals(Object obj) { return equalsBySdkFields(obj); } @Override public boolean equalsBySdkFields(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof VpnConnectionOptionsSpecification)) { return false; } VpnConnectionOptionsSpecification other = (VpnConnectionOptionsSpecification) obj; return Objects.equals(enableAcceleration(), other.enableAcceleration()) && Objects.equals(staticRoutesOnly(), other.staticRoutesOnly()) && Objects.equals(tunnelInsideIpVersionAsString(), other.tunnelInsideIpVersionAsString()) && Objects.equals(tunnelOptions(), other.tunnelOptions()) && Objects.equals(localIpv4NetworkCidr(), other.localIpv4NetworkCidr()) && Objects.equals(remoteIpv4NetworkCidr(), other.remoteIpv4NetworkCidr()) && Objects.equals(localIpv6NetworkCidr(), other.localIpv6NetworkCidr()) && Objects.equals(remoteIpv6NetworkCidr(), other.remoteIpv6NetworkCidr()); } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("VpnConnectionOptionsSpecification").add("EnableAcceleration", enableAcceleration()) .add("StaticRoutesOnly", staticRoutesOnly()).add("TunnelInsideIpVersion", tunnelInsideIpVersionAsString()) .add("TunnelOptions", tunnelOptions()).add("LocalIpv4NetworkCidr", localIpv4NetworkCidr()) .add("RemoteIpv4NetworkCidr", remoteIpv4NetworkCidr()).add("LocalIpv6NetworkCidr", localIpv6NetworkCidr()) .add("RemoteIpv6NetworkCidr", remoteIpv6NetworkCidr()).build(); } public Optional getValueForField(String fieldName, Class clazz) { switch (fieldName) { case "EnableAcceleration": return Optional.ofNullable(clazz.cast(enableAcceleration())); case "StaticRoutesOnly": return Optional.ofNullable(clazz.cast(staticRoutesOnly())); case "TunnelInsideIpVersion": return Optional.ofNullable(clazz.cast(tunnelInsideIpVersionAsString())); case "TunnelOptions": return Optional.ofNullable(clazz.cast(tunnelOptions())); case "LocalIpv4NetworkCidr": return Optional.ofNullable(clazz.cast(localIpv4NetworkCidr())); case "RemoteIpv4NetworkCidr": return Optional.ofNullable(clazz.cast(remoteIpv4NetworkCidr())); case "LocalIpv6NetworkCidr": return Optional.ofNullable(clazz.cast(localIpv6NetworkCidr())); case "RemoteIpv6NetworkCidr": return Optional.ofNullable(clazz.cast(remoteIpv6NetworkCidr())); default: return Optional.empty(); } } @Override public List> sdkFields() { return SDK_FIELDS; } private static Function getter(Function g) { return obj -> g.apply((VpnConnectionOptionsSpecification) obj); } private static BiConsumer setter(BiConsumer s) { return (obj, val) -> s.accept((Builder) obj, val); } public interface Builder extends SdkPojo, CopyableBuilder { /** *

* Indicate whether to enable acceleration for the VPN connection. *

*

* Default: false *

* * @param enableAcceleration * Indicate whether to enable acceleration for the VPN connection.

*

* Default: false * @return Returns a reference to this object so that method calls can be chained together. */ Builder enableAcceleration(Boolean enableAcceleration); /** *

* Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a * device that does not support BGP, you must specify true. Use CreateVpnConnectionRoute to * create a static route. *

*

* Default: false *

* * @param staticRoutesOnly * Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for * a device that does not support BGP, you must specify true. Use * CreateVpnConnectionRoute to create a static route.

*

* Default: false * @return Returns a reference to this object so that method calls can be chained together. */ Builder staticRoutesOnly(Boolean staticRoutesOnly); /** *

* Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. *

*

* Default: ipv4 *

* * @param tunnelInsideIpVersion * Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

*

* Default: ipv4 * @see TunnelInsideIpVersion * @return Returns a reference to this object so that method calls can be chained together. * @see TunnelInsideIpVersion */ Builder tunnelInsideIpVersion(String tunnelInsideIpVersion); /** *

* Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. *

*

* Default: ipv4 *

* * @param tunnelInsideIpVersion * Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

*

* Default: ipv4 * @see TunnelInsideIpVersion * @return Returns a reference to this object so that method calls can be chained together. * @see TunnelInsideIpVersion */ Builder tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion); /** *

* The tunnel options for the VPN connection. *

* * @param tunnelOptions * The tunnel options for the VPN connection. * @return Returns a reference to this object so that method calls can be chained together. */ Builder tunnelOptions(Collection tunnelOptions); /** *

* The tunnel options for the VPN connection. *

* * @param tunnelOptions * The tunnel options for the VPN connection. * @return Returns a reference to this object so that method calls can be chained together. */ Builder tunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions); /** *

* The tunnel options for the VPN connection. *

* This is a convenience that creates an instance of the {@link List.Builder} * avoiding the need to create one manually via {@link List#builder()}. * * When the {@link Consumer} completes, {@link List.Builder#build()} is called * immediately and its result is passed to {@link #tunnelOptions(List)}. * * @param tunnelOptions * a consumer that will call methods on {@link List.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tunnelOptions(List) */ Builder tunnelOptions(Consumer... tunnelOptions); /** *

* The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. *

*

* Default: 0.0.0.0/0 *

* * @param localIpv4NetworkCidr * The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

*

* Default: 0.0.0.0/0 * @return Returns a reference to this object so that method calls can be chained together. */ Builder localIpv4NetworkCidr(String localIpv4NetworkCidr); /** *

* The IPv4 CIDR on the AWS side of the VPN connection. *

*

* Default: 0.0.0.0/0 *

* * @param remoteIpv4NetworkCidr * The IPv4 CIDR on the AWS side of the VPN connection.

*

* Default: 0.0.0.0/0 * @return Returns a reference to this object so that method calls can be chained together. */ Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr); /** *

* The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. *

*

* Default: ::/0 *

* * @param localIpv6NetworkCidr * The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

*

* Default: ::/0 * @return Returns a reference to this object so that method calls can be chained together. */ Builder localIpv6NetworkCidr(String localIpv6NetworkCidr); /** *

* The IPv6 CIDR on the AWS side of the VPN connection. *

*

* Default: ::/0 *

* * @param remoteIpv6NetworkCidr * The IPv6 CIDR on the AWS side of the VPN connection.

*

* Default: ::/0 * @return Returns a reference to this object so that method calls can be chained together. */ Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr); } static final class BuilderImpl implements Builder { private Boolean enableAcceleration; private Boolean staticRoutesOnly; private String tunnelInsideIpVersion; private List tunnelOptions = DefaultSdkAutoConstructList.getInstance(); private String localIpv4NetworkCidr; private String remoteIpv4NetworkCidr; private String localIpv6NetworkCidr; private String remoteIpv6NetworkCidr; private BuilderImpl() { } private BuilderImpl(VpnConnectionOptionsSpecification model) { enableAcceleration(model.enableAcceleration); staticRoutesOnly(model.staticRoutesOnly); tunnelInsideIpVersion(model.tunnelInsideIpVersion); tunnelOptions(model.tunnelOptions); localIpv4NetworkCidr(model.localIpv4NetworkCidr); remoteIpv4NetworkCidr(model.remoteIpv4NetworkCidr); localIpv6NetworkCidr(model.localIpv6NetworkCidr); remoteIpv6NetworkCidr(model.remoteIpv6NetworkCidr); } public final Boolean getEnableAcceleration() { return enableAcceleration; } @Override public final Builder enableAcceleration(Boolean enableAcceleration) { this.enableAcceleration = enableAcceleration; return this; } public final void setEnableAcceleration(Boolean enableAcceleration) { this.enableAcceleration = enableAcceleration; } public final Boolean getStaticRoutesOnly() { return staticRoutesOnly; } @Override public final Builder staticRoutesOnly(Boolean staticRoutesOnly) { this.staticRoutesOnly = staticRoutesOnly; return this; } public final void setStaticRoutesOnly(Boolean staticRoutesOnly) { this.staticRoutesOnly = staticRoutesOnly; } public final String getTunnelInsideIpVersion() { return tunnelInsideIpVersion; } @Override public final Builder tunnelInsideIpVersion(String tunnelInsideIpVersion) { this.tunnelInsideIpVersion = tunnelInsideIpVersion; return this; } @Override public final Builder tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion) { this.tunnelInsideIpVersion(tunnelInsideIpVersion == null ? null : tunnelInsideIpVersion.toString()); return this; } public final void setTunnelInsideIpVersion(String tunnelInsideIpVersion) { this.tunnelInsideIpVersion = tunnelInsideIpVersion; } public final Collection getTunnelOptions() { return tunnelOptions != null ? tunnelOptions.stream().map(VpnTunnelOptionsSpecification::toBuilder) .collect(Collectors.toList()) : null; } @Override public final Builder tunnelOptions(Collection tunnelOptions) { this.tunnelOptions = VpnTunnelOptionsSpecificationsListCopier.copy(tunnelOptions); return this; } @Override @SafeVarargs public final Builder tunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions) { tunnelOptions(Arrays.asList(tunnelOptions)); return this; } @Override @SafeVarargs public final Builder tunnelOptions(Consumer... tunnelOptions) { tunnelOptions(Stream.of(tunnelOptions).map(c -> VpnTunnelOptionsSpecification.builder().applyMutation(c).build()) .collect(Collectors.toList())); return this; } public final void setTunnelOptions(Collection tunnelOptions) { this.tunnelOptions = VpnTunnelOptionsSpecificationsListCopier.copyFromBuilder(tunnelOptions); } public final String getLocalIpv4NetworkCidr() { return localIpv4NetworkCidr; } @Override public final Builder localIpv4NetworkCidr(String localIpv4NetworkCidr) { this.localIpv4NetworkCidr = localIpv4NetworkCidr; return this; } public final void setLocalIpv4NetworkCidr(String localIpv4NetworkCidr) { this.localIpv4NetworkCidr = localIpv4NetworkCidr; } public final String getRemoteIpv4NetworkCidr() { return remoteIpv4NetworkCidr; } @Override public final Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr) { this.remoteIpv4NetworkCidr = remoteIpv4NetworkCidr; return this; } public final void setRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr) { this.remoteIpv4NetworkCidr = remoteIpv4NetworkCidr; } public final String getLocalIpv6NetworkCidr() { return localIpv6NetworkCidr; } @Override public final Builder localIpv6NetworkCidr(String localIpv6NetworkCidr) { this.localIpv6NetworkCidr = localIpv6NetworkCidr; return this; } public final void setLocalIpv6NetworkCidr(String localIpv6NetworkCidr) { this.localIpv6NetworkCidr = localIpv6NetworkCidr; } public final String getRemoteIpv6NetworkCidr() { return remoteIpv6NetworkCidr; } @Override public final Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr) { this.remoteIpv6NetworkCidr = remoteIpv6NetworkCidr; return this; } public final void setRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr) { this.remoteIpv6NetworkCidr = remoteIpv6NetworkCidr; } @Override public VpnConnectionOptionsSpecification build() { return new VpnConnectionOptionsSpecification(this); } @Override public List> sdkFields() { return SDK_FIELDS; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy