@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpnTunnelOptionsSpecification extends Object implements Serializable, Cloneable
The tunnel options for a single VPN tunnel.
Constructor and Description |
---|
VpnTunnelOptionsSpecification() |
Modifier and Type | Method and Description |
---|---|
VpnTunnelOptionsSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getDPDTimeoutAction()
The action to take after DPD timeout occurs.
|
Integer |
getDPDTimeoutSeconds()
The number of seconds after which a DPD timeout occurs.
|
Boolean |
getEnableTunnelLifecycleControl()
Turn on or off tunnel endpoint lifecycle control feature.
|
List<IKEVersionsRequestListValue> |
getIKEVersions()
The IKE versions that are permitted for the VPN tunnel.
|
VpnTunnelLogOptionsSpecification |
getLogOptions()
Options for logging VPN tunnel activity.
|
List<Phase1DHGroupNumbersRequestListValue> |
getPhase1DHGroupNumbers()
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
List<Phase1EncryptionAlgorithmsRequestListValue> |
getPhase1EncryptionAlgorithms()
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
List<Phase1IntegrityAlgorithmsRequestListValue> |
getPhase1IntegrityAlgorithms()
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
Integer |
getPhase1LifetimeSeconds()
The lifetime for phase 1 of the IKE negotiation, in seconds.
|
List<Phase2DHGroupNumbersRequestListValue> |
getPhase2DHGroupNumbers()
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
List<Phase2EncryptionAlgorithmsRequestListValue> |
getPhase2EncryptionAlgorithms()
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
List<Phase2IntegrityAlgorithmsRequestListValue> |
getPhase2IntegrityAlgorithms()
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
Integer |
getPhase2LifetimeSeconds()
The lifetime for phase 2 of the IKE negotiation, in seconds.
|
String |
getPreSharedKey()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
Integer |
getRekeyFuzzPercentage()
The percentage of the rekey window (determined by
RekeyMarginTimeSeconds ) during which the rekey
time is randomly selected. |
Integer |
getRekeyMarginTimeSeconds()
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of
the VPN connection performs an IKE rekey.
|
Integer |
getReplayWindowSize()
The number of packets in an IKE replay window.
|
String |
getStartupAction()
The action to take when the establishing the tunnel for the VPN connection.
|
String |
getTunnelInsideCidr()
The range of inside IPv4 addresses for the tunnel.
|
String |
getTunnelInsideIpv6Cidr()
The range of inside IPv6 addresses for the tunnel.
|
int |
hashCode() |
Boolean |
isEnableTunnelLifecycleControl()
Turn on or off tunnel endpoint lifecycle control feature.
|
void |
setDPDTimeoutAction(String dPDTimeoutAction)
The action to take after DPD timeout occurs.
|
void |
setDPDTimeoutSeconds(Integer dPDTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
|
void |
setEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Turn on or off tunnel endpoint lifecycle control feature.
|
void |
setIKEVersions(Collection<IKEVersionsRequestListValue> iKEVersions)
The IKE versions that are permitted for the VPN tunnel.
|
void |
setLogOptions(VpnTunnelLogOptionsSpecification logOptions)
Options for logging VPN tunnel activity.
|
void |
setPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersRequestListValue> phase1DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
void |
setPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsRequestListValue> phase1EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
void |
setPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsRequestListValue> phase1IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
void |
setPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
|
void |
setPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersRequestListValue> phase2DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
void |
setPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsRequestListValue> phase2EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
void |
setPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsRequestListValue> phase2IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
void |
setPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
|
void |
setPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
void |
setRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window (determined by
RekeyMarginTimeSeconds ) during which the rekey
time is randomly selected. |
void |
setRekeyMarginTimeSeconds(Integer rekeyMarginTimeSeconds)
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of
the VPN connection performs an IKE rekey.
|
void |
setReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
|
void |
setStartupAction(String startupAction)
The action to take when the establishing the tunnel for the VPN connection.
|
void |
setTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.
|
void |
setTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel.
|
String |
toString()
Returns a string representation of this object.
|
VpnTunnelOptionsSpecification |
withDPDTimeoutAction(String dPDTimeoutAction)
The action to take after DPD timeout occurs.
|
VpnTunnelOptionsSpecification |
withDPDTimeoutSeconds(Integer dPDTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
|
VpnTunnelOptionsSpecification |
withEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Turn on or off tunnel endpoint lifecycle control feature.
|
VpnTunnelOptionsSpecification |
withIKEVersions(Collection<IKEVersionsRequestListValue> iKEVersions)
The IKE versions that are permitted for the VPN tunnel.
|
VpnTunnelOptionsSpecification |
withIKEVersions(IKEVersionsRequestListValue... iKEVersions)
The IKE versions that are permitted for the VPN tunnel.
|
VpnTunnelOptionsSpecification |
withLogOptions(VpnTunnelLogOptionsSpecification logOptions)
Options for logging VPN tunnel activity.
|
VpnTunnelOptionsSpecification |
withPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersRequestListValue> phase1DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase1DHGroupNumbers(Phase1DHGroupNumbersRequestListValue... phase1DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsRequestListValue> phase1EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsRequestListValue... phase1EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsRequestListValue> phase1IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsRequestListValue... phase1IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
|
VpnTunnelOptionsSpecification |
withPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersRequestListValue> phase2DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase2DHGroupNumbers(Phase2DHGroupNumbersRequestListValue... phase2DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsRequestListValue> phase2EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsRequestListValue... phase2EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsRequestListValue> phase2IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsRequestListValue... phase2IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
|
VpnTunnelOptionsSpecification |
withPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
|
VpnTunnelOptionsSpecification |
withPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer
gateway.
|
VpnTunnelOptionsSpecification |
withRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window (determined by
RekeyMarginTimeSeconds ) during which the rekey
time is randomly selected. |
VpnTunnelOptionsSpecification |
withRekeyMarginTimeSeconds(Integer rekeyMarginTimeSeconds)
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of
the VPN connection performs an IKE rekey.
|
VpnTunnelOptionsSpecification |
withReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
|
VpnTunnelOptionsSpecification |
withStartupAction(String startupAction)
The action to take when the establishing the tunnel for the VPN connection.
|
VpnTunnelOptionsSpecification |
withTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.
|
VpnTunnelOptionsSpecification |
withTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel.
|
public void setTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 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 IPv4 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 IPv4 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 IPv4 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 IPv4 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 setTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
tunnelInsideIpv6Cidr
- The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN
connections that use the same transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
public String getTunnelInsideIpv6Cidr()
The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
public VpnTunnelOptionsSpecification withTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
tunnelInsideIpv6Cidr
- The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN
connections that use the same transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
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, periods (.), and underscores (_). 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, periods (.), and underscores (_). 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, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). 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, periods (.), and underscores (_). 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, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
public void setPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
phase1LifetimeSeconds
- The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
public Integer getPhase1LifetimeSeconds()
The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
Constraints: A value between 900 and 28,800.
Default: 28800
public VpnTunnelOptionsSpecification withPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
phase1LifetimeSeconds
- The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
public void setPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than the value for
Phase1LifetimeSeconds
.
Default: 3600
phase2LifetimeSeconds
- The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than the value for
Phase1LifetimeSeconds
.
Default: 3600
public Integer getPhase2LifetimeSeconds()
The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than the value for
Phase1LifetimeSeconds
.
Default: 3600
Constraints: A value between 900 and 3,600. The value must be less than the value for
Phase1LifetimeSeconds
.
Default: 3600
public VpnTunnelOptionsSpecification withPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than the value for
Phase1LifetimeSeconds
.
Default: 3600
phase2LifetimeSeconds
- The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than the value for
Phase1LifetimeSeconds
.
Default: 3600
public void setRekeyMarginTimeSeconds(Integer rekeyMarginTimeSeconds)
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of
the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for
RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 270
rekeyMarginTimeSeconds
- The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services
side of the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based
on the value for RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 270
public Integer getRekeyMarginTimeSeconds()
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of
the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for
RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 270
RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 270
public VpnTunnelOptionsSpecification withRekeyMarginTimeSeconds(Integer rekeyMarginTimeSeconds)
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of
the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for
RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 270
rekeyMarginTimeSeconds
- The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services
side of the VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based
on the value for RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 270
public void setRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window (determined by RekeyMarginTimeSeconds
) during which the rekey
time is randomly selected.
Constraints: A value between 0 and 100.
Default: 100
rekeyFuzzPercentage
- The percentage of the rekey window (determined by RekeyMarginTimeSeconds
) during which the
rekey time is randomly selected.
Constraints: A value between 0 and 100.
Default: 100
public Integer getRekeyFuzzPercentage()
The percentage of the rekey window (determined by RekeyMarginTimeSeconds
) during which the rekey
time is randomly selected.
Constraints: A value between 0 and 100.
Default: 100
RekeyMarginTimeSeconds
) during which the
rekey time is randomly selected.
Constraints: A value between 0 and 100.
Default: 100
public VpnTunnelOptionsSpecification withRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window (determined by RekeyMarginTimeSeconds
) during which the rekey
time is randomly selected.
Constraints: A value between 0 and 100.
Default: 100
rekeyFuzzPercentage
- The percentage of the rekey window (determined by RekeyMarginTimeSeconds
) during which the
rekey time is randomly selected.
Constraints: A value between 0 and 100.
Default: 100
public void setReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
replayWindowSize
- The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
public Integer getReplayWindowSize()
The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
Constraints: A value between 64 and 2048.
Default: 1024
public VpnTunnelOptionsSpecification withReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
replayWindowSize
- The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
public void setDPDTimeoutSeconds(Integer dPDTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
dPDTimeoutSeconds
- The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
public Integer getDPDTimeoutSeconds()
The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
Constraints: A value greater than or equal to 30.
Default: 30
public VpnTunnelOptionsSpecification withDPDTimeoutSeconds(Integer dPDTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
dPDTimeoutSeconds
- The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
public void setDPDTimeoutAction(String dPDTimeoutAction)
The action to take after DPD timeout occurs. Specify restart
to restart the IKE initiation. Specify
clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
dPDTimeoutAction
- The action to take after DPD timeout occurs. Specify restart
to restart the IKE initiation.
Specify clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
public String getDPDTimeoutAction()
The action to take after DPD timeout occurs. Specify restart
to restart the IKE initiation. Specify
clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
restart
to restart the IKE initiation.
Specify clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
public VpnTunnelOptionsSpecification withDPDTimeoutAction(String dPDTimeoutAction)
The action to take after DPD timeout occurs. Specify restart
to restart the IKE initiation. Specify
clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
dPDTimeoutAction
- The action to take after DPD timeout occurs. Specify restart
to restart the IKE initiation.
Specify clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
public List<Phase1EncryptionAlgorithmsRequestListValue> getPhase1EncryptionAlgorithms()
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public void setPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsRequestListValue> phase1EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
phase1EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public VpnTunnelOptionsSpecification withPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsRequestListValue... phase1EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
NOTE: This method appends the values to the existing list (if any). Use
setPhase1EncryptionAlgorithms(java.util.Collection)
or
withPhase1EncryptionAlgorithms(java.util.Collection)
if you want to override the existing values.
phase1EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public VpnTunnelOptionsSpecification withPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsRequestListValue> phase1EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
phase1EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public List<Phase2EncryptionAlgorithmsRequestListValue> getPhase2EncryptionAlgorithms()
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public void setPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsRequestListValue> phase2EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
phase2EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public VpnTunnelOptionsSpecification withPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsRequestListValue... phase2EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
NOTE: This method appends the values to the existing list (if any). Use
setPhase2EncryptionAlgorithms(java.util.Collection)
or
withPhase2EncryptionAlgorithms(java.util.Collection)
if you want to override the existing values.
phase2EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public VpnTunnelOptionsSpecification withPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsRequestListValue> phase2EncryptionAlgorithms)
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
phase2EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
|
AES256-GCM-16
public List<Phase1IntegrityAlgorithmsRequestListValue> getPhase1IntegrityAlgorithms()
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public void setPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsRequestListValue> phase1IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
phase1IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public VpnTunnelOptionsSpecification withPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsRequestListValue... phase1IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
NOTE: This method appends the values to the existing list (if any). Use
setPhase1IntegrityAlgorithms(java.util.Collection)
or
withPhase1IntegrityAlgorithms(java.util.Collection)
if you want to override the existing values.
phase1IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public VpnTunnelOptionsSpecification withPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsRequestListValue> phase1IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
phase1IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public List<Phase2IntegrityAlgorithmsRequestListValue> getPhase2IntegrityAlgorithms()
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public void setPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsRequestListValue> phase2IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
phase2IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public VpnTunnelOptionsSpecification withPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsRequestListValue... phase2IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
NOTE: This method appends the values to the existing list (if any). Use
setPhase2IntegrityAlgorithms(java.util.Collection)
or
withPhase2IntegrityAlgorithms(java.util.Collection)
if you want to override the existing values.
phase2IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public VpnTunnelOptionsSpecification withPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsRequestListValue> phase2IntegrityAlgorithms)
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
phase2IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
public List<Phase1DHGroupNumbersRequestListValue> getPhase1DHGroupNumbers()
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
|
24
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
| 24
public void setPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersRequestListValue> phase1DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
|
24
phase1DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE
negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
| 24
public VpnTunnelOptionsSpecification withPhase1DHGroupNumbers(Phase1DHGroupNumbersRequestListValue... phase1DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
|
24
NOTE: This method appends the values to the existing list (if any). Use
setPhase1DHGroupNumbers(java.util.Collection)
or withPhase1DHGroupNumbers(java.util.Collection)
if you want to override the existing values.
phase1DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE
negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
| 24
public VpnTunnelOptionsSpecification withPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersRequestListValue> phase1DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
|
24
phase1DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE
negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
|
18
| 19
| 20
| 21
| 22
| 23
| 24
public List<Phase2DHGroupNumbersRequestListValue> getPhase2DHGroupNumbers()
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
|
23
| 24
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
public void setPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersRequestListValue> phase2DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
|
23
| 24
phase2DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE
negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
public VpnTunnelOptionsSpecification withPhase2DHGroupNumbers(Phase2DHGroupNumbersRequestListValue... phase2DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
|
23
| 24
NOTE: This method appends the values to the existing list (if any). Use
setPhase2DHGroupNumbers(java.util.Collection)
or withPhase2DHGroupNumbers(java.util.Collection)
if you want to override the existing values.
phase2DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE
negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
public VpnTunnelOptionsSpecification withPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersRequestListValue> phase2DHGroupNumbers)
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
|
23
| 24
phase2DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE
negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
|
17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
public List<IKEVersionsRequestListValue> getIKEVersions()
The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
Valid values: ikev1
| ikev2
public void setIKEVersions(Collection<IKEVersionsRequestListValue> iKEVersions)
The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
iKEVersions
- The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
public VpnTunnelOptionsSpecification withIKEVersions(IKEVersionsRequestListValue... iKEVersions)
The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
NOTE: This method appends the values to the existing list (if any). Use
setIKEVersions(java.util.Collection)
or withIKEVersions(java.util.Collection)
if you want to
override the existing values.
iKEVersions
- The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
public VpnTunnelOptionsSpecification withIKEVersions(Collection<IKEVersionsRequestListValue> iKEVersions)
The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
iKEVersions
- The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
public void setStartupAction(String startupAction)
The action to take when the establishing the tunnel for the VPN connection. By default, your customer gateway
device must initiate the IKE negotiation and bring up the tunnel. Specify start
for Amazon Web
Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
startupAction
- The action to take when the establishing the tunnel for the VPN connection. By default, your customer
gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start
for
Amazon Web Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
public String getStartupAction()
The action to take when the establishing the tunnel for the VPN connection. By default, your customer gateway
device must initiate the IKE negotiation and bring up the tunnel. Specify start
for Amazon Web
Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
start
for
Amazon Web Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
public VpnTunnelOptionsSpecification withStartupAction(String startupAction)
The action to take when the establishing the tunnel for the VPN connection. By default, your customer gateway
device must initiate the IKE negotiation and bring up the tunnel. Specify start
for Amazon Web
Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
startupAction
- The action to take when the establishing the tunnel for the VPN connection. By default, your customer
gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start
for
Amazon Web Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
public void setLogOptions(VpnTunnelLogOptionsSpecification logOptions)
Options for logging VPN tunnel activity.
logOptions
- Options for logging VPN tunnel activity.public VpnTunnelLogOptionsSpecification getLogOptions()
Options for logging VPN tunnel activity.
public VpnTunnelOptionsSpecification withLogOptions(VpnTunnelLogOptionsSpecification logOptions)
Options for logging VPN tunnel activity.
logOptions
- Options for logging VPN tunnel activity.public void setEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Turn on or off tunnel endpoint lifecycle control feature.
enableTunnelLifecycleControl
- Turn on or off tunnel endpoint lifecycle control feature.public Boolean getEnableTunnelLifecycleControl()
Turn on or off tunnel endpoint lifecycle control feature.
public VpnTunnelOptionsSpecification withEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Turn on or off tunnel endpoint lifecycle control feature.
enableTunnelLifecycleControl
- Turn on or off tunnel endpoint lifecycle control feature.public Boolean isEnableTunnelLifecycleControl()
Turn on or off tunnel endpoint lifecycle control feature.
public String toString()
toString
in class Object
Object.toString()
public VpnTunnelOptionsSpecification clone()