public AwsEc2VpnConnectionOptionsTunnelOptionsDetails 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.
</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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2VpnConnectionOptionsTunnelOptionsDetails.java