@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 |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<VpnTunnelOptionsSpecification> |
tunnelOptions()
The tunnel options for the VPN connection.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 List<VpnTunnelOptionsSpecification> tunnelOptions()
The tunnel options for the VPN connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 © 2019. All rights reserved.