public UnassignPrivateNatGatewayAddressRequest withMaxDrainDurationSeconds(Integer maxDrainDurationSeconds) {
        setMaxDrainDurationSeconds(maxDrainDurationSeconds);
        return this;
    }
<p>
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are
still in progress. Default value is 350 seconds.
</p>

@param maxDrainDurationSeconds
       The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections
       are still in progress. Default value is 350 seconds.
@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/UnassignPrivateNatGatewayAddressRequest.java