@Generated(value="software.amazon.awssdk:codegen") public final class VpnConnectionOptionsSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpnConnectionOptionsSpecification.Builder,VpnConnectionOptionsSpecification>
Describes VPN connection options.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VpnConnectionOptionsSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VpnConnectionOptionsSpecification.Builder |
builder() |
Boolean |
enableAcceleration()
Indicate whether to enable acceleration for the VPN connection.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTunnelOptions()
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).
|
String |
localIpv4NetworkCidr()
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
String |
localIpv6NetworkCidr()
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
String |
remoteIpv4NetworkCidr()
The IPv4 CIDR on the AWS side of the VPN connection.
|
String |
remoteIpv6NetworkCidr()
The IPv6 CIDR on the AWS side of the VPN connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpnConnectionOptionsSpecification.Builder> |
serializableBuilderClass() |
Boolean |
staticRoutesOnly()
Indicate whether the VPN connection uses static routes only.
|
VpnConnectionOptionsSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TunnelInsideIpVersion |
tunnelInsideIpVersion()
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
|
String |
tunnelInsideIpVersionAsString()
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
|
List<VpnTunnelOptionsSpecification> |
tunnelOptions()
The tunnel options for the VPN connection.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean enableAcceleration()
Indicate whether to enable acceleration for the VPN connection.
Default: false
Default: false
public Boolean 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
true. Use CreateVpnConnectionRoute
to create a static route.
Default: false
public TunnelInsideIpVersion 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,
tunnelInsideIpVersion will return TunnelInsideIpVersion.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from tunnelInsideIpVersionAsString().
Default: ipv4
TunnelInsideIpVersionpublic String tunnelInsideIpVersionAsString()
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,
tunnelInsideIpVersion will return TunnelInsideIpVersion.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from tunnelInsideIpVersionAsString().
Default: ipv4
TunnelInsideIpVersionpublic boolean hasTunnelOptions()
public List<VpnTunnelOptionsSpecification> tunnelOptions()
The tunnel options for the VPN connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTunnelOptions() to see if a value was sent in this field.
public String localIpv4NetworkCidr()
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
Default: 0.0.0.0/0
public String remoteIpv4NetworkCidr()
The IPv4 CIDR on the AWS side of the VPN connection.
Default: 0.0.0.0/0
Default: 0.0.0.0/0
public String localIpv6NetworkCidr()
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
Default: ::/0
public String remoteIpv6NetworkCidr()
The IPv6 CIDR on the AWS side of the VPN connection.
Default: ::/0
Default: ::/0
public VpnConnectionOptionsSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpnConnectionOptionsSpecification.Builder,VpnConnectionOptionsSpecification>public static VpnConnectionOptionsSpecification.Builder builder()
public static Class<? extends VpnConnectionOptionsSpecification.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.