@Generated(value="software.amazon.awssdk:codegen") public final class VpnTunnelOptionsSpecification extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpnTunnelOptionsSpecification.Builder> |
serializableBuilderClass() |
VpnTunnelOptionsSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
tunnelInsideCidr()
The range of inside IP addresses for the tunnel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<VpnTunnelOptionsSpecification.Builder,VpnTunnelOptionsSpecification>public static VpnTunnelOptionsSpecification.Builder builder()
public static Class<? extends VpnTunnelOptionsSpecification.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.