@Generated(value="software.amazon.awssdk:codegen") public final class VpnConnectionOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>
Describes VPN connection options.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VpnConnectionOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VpnConnectionOptions.Builder |
builder() |
Boolean |
enableAcceleration()
Indicates whether acceleration is enabled 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).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpnConnectionOptions.Builder> |
serializableBuilderClass() |
Boolean |
staticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
VpnConnectionOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TunnelInsideIpVersion |
tunnelInsideIpVersion()
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
String |
tunnelInsideIpVersionAsString()
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
List<TunnelOption> |
tunnelOptions()
Indicates the VPN tunnel options.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean enableAcceleration()
Indicates whether acceleration is enabled for the VPN connection.
public Boolean staticRoutesOnly()
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
public TunnelInsideIpVersion tunnelInsideIpVersion()
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
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().
TunnelInsideIpVersionpublic String tunnelInsideIpVersionAsString()
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
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().
TunnelInsideIpVersionpublic boolean hasTunnelOptions()
public List<TunnelOption> tunnelOptions()
Indicates the VPN tunnel options.
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 VpnConnectionOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>public static VpnConnectionOptions.Builder builder()
public static Class<? extends VpnConnectionOptions.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.