@Generated(value="software.amazon.awssdk:codegen") public final class VpnTunnelOptionsSpecification extends Object implements ToCopyableBuilder<VpnTunnelOptionsSpecification.Builder,VpnTunnelOptionsSpecification>
The tunnel options for a VPN connection.
Modifier and Type | Class and Description |
---|---|
static interface |
VpnTunnelOptionsSpecification.Builder |
Modifier and Type | Method and Description |
---|---|
static VpnTunnelOptionsSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
preSharedKey()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
static Class<? extends VpnTunnelOptionsSpecification.Builder> |
serializableBuilderClass() |
VpnTunnelOptionsSpecification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
tunnelInsideCidr()
The range of inside IP addresses for the tunnel.
|
copy
public String tunnelInsideCidr()
The range of inside IP addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway.
Constraints: A size /30 CIDR block from the 169.254.0.0/16
range. The following CIDR blocks are
reserved and cannot be used:
169.254.0.0/30
169.254.1.0/30
169.254.2.0/30
169.254.3.0/30
169.254.4.0/30
169.254.5.0/30
169.254.169.252/30
Constraints: A size /30 CIDR block from the 169.254.0.0/16
range. The following CIDR blocks
are reserved and cannot be used:
169.254.0.0/30
169.254.1.0/30
169.254.2.0/30
169.254.3.0/30
169.254.4.0/30
169.254.5.0/30
169.254.169.252/30
public String preSharedKey()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
Constraints: Allowed characters are alphanumeric characters and ._. Must be between 8 and 64 characters in length and cannot start with zero (0).
Constraints: Allowed characters are alphanumeric characters and ._. Must be between 8 and 64 characters in length and cannot start with zero (0).
public VpnTunnelOptionsSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpnTunnelOptionsSpecification.Builder,VpnTunnelOptionsSpecification>
public static VpnTunnelOptionsSpecification.Builder builder()
public static Class<? extends VpnTunnelOptionsSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.