@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpnTunnelOptionsSpecification extends Object implements Serializable, Cloneable
The tunnel options for a VPN connection.
Constructor and Description |
---|
VpnTunnelOptionsSpecification() |
Modifier and Type | Method and Description |
---|---|
VpnTunnelOptionsSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getPreSharedKey()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
String |
getTunnelInsideCidr()
The range of inside IP addresses for the tunnel.
|
int |
hashCode() |
void |
setPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
void |
setTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IP addresses for the tunnel.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VpnTunnelOptionsSpecification |
withPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
VpnTunnelOptionsSpecification |
withTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IP addresses for the tunnel.
|
public void setTunnelInsideCidr(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
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
public String getTunnelInsideCidr()
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 VpnTunnelOptionsSpecification withTunnelInsideCidr(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
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
public void setPreSharedKey(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).
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).
public String getPreSharedKey()
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 withPreSharedKey(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).
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).
public String toString()
toString
in class Object
Object.toString()
public VpnTunnelOptionsSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.