@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TunnelOption extends Object implements Serializable, Cloneable
The VPN tunnel options.
Constructor and Description |
---|
TunnelOption() |
Modifier and Type | Method and Description |
---|---|
TunnelOption |
clone() |
boolean |
equals(Object obj) |
String |
getDpdTimeoutAction()
The action to take after a DPD timeout occurs.
|
Integer |
getDpdTimeoutSeconds()
The number of seconds after which a DPD timeout occurs.
|
Boolean |
getEnableTunnelLifecycleControl()
Status of tunnel endpoint lifecycle control feature.
|
List<IKEVersionsListValue> |
getIkeVersions()
The IKE versions that are permitted for the VPN tunnel.
|
VpnTunnelLogOptions |
getLogOptions()
Options for logging VPN tunnel activity.
|
String |
getOutsideIpAddress()
The external IP address of the VPN tunnel.
|
List<Phase1DHGroupNumbersListValue> |
getPhase1DHGroupNumbers()
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
|
List<Phase1EncryptionAlgorithmsListValue> |
getPhase1EncryptionAlgorithms()
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
List<Phase1IntegrityAlgorithmsListValue> |
getPhase1IntegrityAlgorithms()
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
Integer |
getPhase1LifetimeSeconds()
The lifetime for phase 1 of the IKE negotiation, in seconds.
|
List<Phase2DHGroupNumbersListValue> |
getPhase2DHGroupNumbers()
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
|
List<Phase2EncryptionAlgorithmsListValue> |
getPhase2EncryptionAlgorithms()
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
|
List<Phase2IntegrityAlgorithmsListValue> |
getPhase2IntegrityAlgorithms()
The permitted integrity algorithms 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 the 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 VPN tunnels for a 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()
Status of tunnel endpoint lifecycle control feature.
|
void |
setDpdTimeoutAction(String dpdTimeoutAction)
The action to take after a DPD timeout occurs.
|
void |
setDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
|
void |
setEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Status of tunnel endpoint lifecycle control feature.
|
void |
setIkeVersions(Collection<IKEVersionsListValue> ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
|
void |
setLogOptions(VpnTunnelLogOptions logOptions)
Options for logging VPN tunnel activity.
|
void |
setOutsideIpAddress(String outsideIpAddress)
The external IP address of the VPN tunnel.
|
void |
setPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
|
void |
setPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
void |
setPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms)
The permitted integrity algorithms 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<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
|
void |
setPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
|
void |
setPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms)
The permitted integrity algorithms 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 the 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 VPN tunnels for a 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.
|
TunnelOption |
withDpdTimeoutAction(String dpdTimeoutAction)
The action to take after a DPD timeout occurs.
|
TunnelOption |
withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
|
TunnelOption |
withEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Status of tunnel endpoint lifecycle control feature.
|
TunnelOption |
withIkeVersions(Collection<IKEVersionsListValue> ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
|
TunnelOption |
withIkeVersions(IKEVersionsListValue... ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
|
TunnelOption |
withLogOptions(VpnTunnelLogOptions logOptions)
Options for logging VPN tunnel activity.
|
TunnelOption |
withOutsideIpAddress(String outsideIpAddress)
The external IP address of the VPN tunnel.
|
TunnelOption |
withPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
|
TunnelOption |
withPhase1DHGroupNumbers(Phase1DHGroupNumbersListValue... phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
|
TunnelOption |
withPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
TunnelOption |
withPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsListValue... phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
TunnelOption |
withPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
TunnelOption |
withPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsListValue... phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
|
TunnelOption |
withPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
|
TunnelOption |
withPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
|
TunnelOption |
withPhase2DHGroupNumbers(Phase2DHGroupNumbersListValue... phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
|
TunnelOption |
withPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
|
TunnelOption |
withPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsListValue... phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
|
TunnelOption |
withPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
|
TunnelOption |
withPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsListValue... phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
|
TunnelOption |
withPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
|
TunnelOption |
withPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer
gateway.
|
TunnelOption |
withRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window determined by
RekeyMarginTimeSeconds during which the rekey time
is randomly selected. |
TunnelOption |
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.
|
TunnelOption |
withReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
|
TunnelOption |
withStartupAction(String startupAction)
The action to take when the establishing the VPN tunnels for a VPN connection.
|
TunnelOption |
withTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.
|
TunnelOption |
withTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel.
|
public void setOutsideIpAddress(String outsideIpAddress)
The external IP address of the VPN tunnel.
outsideIpAddress
- The external IP address of the VPN tunnel.public String getOutsideIpAddress()
The external IP address of the VPN tunnel.
public TunnelOption withOutsideIpAddress(String outsideIpAddress)
The external IP address of the VPN tunnel.
outsideIpAddress
- The external IP address of the VPN tunnel.public void setTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.
tunnelInsideCidr
- The range of inside IPv4 addresses for the tunnel.public String getTunnelInsideCidr()
The range of inside IPv4 addresses for the tunnel.
public TunnelOption withTunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.
tunnelInsideCidr
- The range of inside IPv4 addresses for the tunnel.public void setTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel.
tunnelInsideIpv6Cidr
- The range of inside IPv6 addresses for the tunnel.public String getTunnelInsideIpv6Cidr()
The range of inside IPv6 addresses for the tunnel.
public TunnelOption withTunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel.
tunnelInsideIpv6Cidr
- The range of inside IPv6 addresses for the tunnel.public void setPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
preSharedKey
- The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the
customer gateway.public String getPreSharedKey()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
public TunnelOption withPreSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
preSharedKey
- The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the
customer gateway.public void setPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
phase1LifetimeSeconds
- The lifetime for phase 1 of the IKE negotiation, in seconds.public Integer getPhase1LifetimeSeconds()
The lifetime for phase 1 of the IKE negotiation, in seconds.
public TunnelOption withPhase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
phase1LifetimeSeconds
- The lifetime for phase 1 of the IKE negotiation, in seconds.public void setPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
phase2LifetimeSeconds
- The lifetime for phase 2 of the IKE negotiation, in seconds.public Integer getPhase2LifetimeSeconds()
The lifetime for phase 2 of the IKE negotiation, in seconds.
public TunnelOption withPhase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
phase2LifetimeSeconds
- The lifetime for phase 2 of the IKE negotiation, in seconds.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.
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.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.
public TunnelOption 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.
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.public void setRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the rekey time
is randomly selected.
rekeyFuzzPercentage
- The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the
rekey time is randomly selected.public Integer getRekeyFuzzPercentage()
The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the rekey time
is randomly selected.
RekeyMarginTimeSeconds
during which the
rekey time is randomly selected.public TunnelOption withRekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the rekey time
is randomly selected.
rekeyFuzzPercentage
- The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the
rekey time is randomly selected.public void setReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
replayWindowSize
- The number of packets in an IKE replay window.public Integer getReplayWindowSize()
The number of packets in an IKE replay window.
public TunnelOption withReplayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
replayWindowSize
- The number of packets in an IKE replay window.public void setDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
dpdTimeoutSeconds
- The number of seconds after which a DPD timeout occurs.public Integer getDpdTimeoutSeconds()
The number of seconds after which a DPD timeout occurs.
public TunnelOption withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
dpdTimeoutSeconds
- The number of seconds after which a DPD timeout occurs.public void setDpdTimeoutAction(String dpdTimeoutAction)
The action to take after a DPD timeout occurs.
dpdTimeoutAction
- The action to take after a DPD timeout occurs.public String getDpdTimeoutAction()
The action to take after a DPD timeout occurs.
public TunnelOption withDpdTimeoutAction(String dpdTimeoutAction)
The action to take after a DPD timeout occurs.
dpdTimeoutAction
- The action to take after a DPD timeout occurs.public List<Phase1EncryptionAlgorithmsListValue> getPhase1EncryptionAlgorithms()
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
public void setPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
phase1EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.public TunnelOption withPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsListValue... phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
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
- The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.public TunnelOption withPhase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
phase1EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.public List<Phase2EncryptionAlgorithmsListValue> getPhase2EncryptionAlgorithms()
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
public void setPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
phase2EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.public TunnelOption withPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsListValue... phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
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
- The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.public TunnelOption withPhase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
phase2EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.public List<Phase1IntegrityAlgorithmsListValue> getPhase1IntegrityAlgorithms()
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
public void setPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
phase1IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.public TunnelOption withPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsListValue... phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
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
- The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.public TunnelOption withPhase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
phase1IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.public List<Phase2IntegrityAlgorithmsListValue> getPhase2IntegrityAlgorithms()
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
public void setPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
phase2IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.public TunnelOption withPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsListValue... phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
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
- The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.public TunnelOption withPhase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
phase2IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.public List<Phase1DHGroupNumbersListValue> getPhase1DHGroupNumbers()
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
public void setPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
phase1DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.public TunnelOption withPhase1DHGroupNumbers(Phase1DHGroupNumbersListValue... phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
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
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.public TunnelOption withPhase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
phase1DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.public List<Phase2DHGroupNumbersListValue> getPhase2DHGroupNumbers()
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
public void setPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
phase2DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.public TunnelOption withPhase2DHGroupNumbers(Phase2DHGroupNumbersListValue... phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
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
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.public TunnelOption withPhase2DHGroupNumbers(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
phase2DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.public List<IKEVersionsListValue> getIkeVersions()
The IKE versions that are permitted for the VPN tunnel.
public void setIkeVersions(Collection<IKEVersionsListValue> ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
ikeVersions
- The IKE versions that are permitted for the VPN tunnel.public TunnelOption withIkeVersions(IKEVersionsListValue... ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
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.public TunnelOption withIkeVersions(Collection<IKEVersionsListValue> ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
ikeVersions
- The IKE versions that are permitted for the VPN tunnel.public void setStartupAction(String startupAction)
The action to take when the establishing the VPN tunnels for a VPN connection.
startupAction
- The action to take when the establishing the VPN tunnels for a VPN connection.public String getStartupAction()
The action to take when the establishing the VPN tunnels for a VPN connection.
public TunnelOption withStartupAction(String startupAction)
The action to take when the establishing the VPN tunnels for a VPN connection.
startupAction
- The action to take when the establishing the VPN tunnels for a VPN connection.public void setLogOptions(VpnTunnelLogOptions logOptions)
Options for logging VPN tunnel activity.
logOptions
- Options for logging VPN tunnel activity.public VpnTunnelLogOptions getLogOptions()
Options for logging VPN tunnel activity.
public TunnelOption withLogOptions(VpnTunnelLogOptions logOptions)
Options for logging VPN tunnel activity.
logOptions
- Options for logging VPN tunnel activity.public void setEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Status of tunnel endpoint lifecycle control feature.
enableTunnelLifecycleControl
- Status of tunnel endpoint lifecycle control feature.public Boolean getEnableTunnelLifecycleControl()
Status of tunnel endpoint lifecycle control feature.
public TunnelOption withEnableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Status of tunnel endpoint lifecycle control feature.
enableTunnelLifecycleControl
- Status of tunnel endpoint lifecycle control feature.public Boolean isEnableTunnelLifecycleControl()
Status of tunnel endpoint lifecycle control feature.
public String toString()
toString
in class Object
Object.toString()
public TunnelOption clone()