public VpnTunnelOptionsSpecification withRekeyMarginTimeSeconds(Integer rekeyMarginTimeSeconds) {
        setRekeyMarginTimeSeconds(rekeyMarginTimeSeconds);
        return this;
    }
<p>
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
<code>RekeyFuzzPercentage</code>.
</p>
<p>
Constraints: A value between 60 and half of <code>Phase2LifetimeSeconds</code>.
</p>
<p>
Default: <code>270</code>
</p>

@param 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 <code>RekeyFuzzPercentage</code>.</p>
       <p>
       Constraints: A value between 60 and half of <code>Phase2LifetimeSeconds</code>.
       </p>
       <p>
       Default: <code>270</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/VpnTunnelOptionsSpecification.java