@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<VpnTunnelOptionsSpecification> |
tunnelOptions()
The tunnel options for the VPN connection.
|
copy
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 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpnConnectionOptionsSpecification.Builder,VpnConnectionOptionsSpecification>
public static VpnConnectionOptionsSpecification.Builder builder()
public static Class<? extends VpnConnectionOptionsSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.