public ModifyDBInstanceRequest withDBPortNumber(Integer dBPortNumber) {
        setDBPortNumber(dBPortNumber);
        return this;
    }
<p>
The port number on which the database accepts connections.
</p>
<p>
The value of the <code>DBPortNumber</code> parameter must not match any of the port values specified for options
in the option group for the DB instance.
</p>
<p>
Your database will restart when you change the <code>DBPortNumber</code> value regardless of the value of the
<code>ApplyImmediately</code> parameter.
</p>
<p>
Default: <code>8182</code>
</p>

@param dBPortNumber
       The port number on which the database accepts connections.</p>
       <p>
       The value of the <code>DBPortNumber</code> parameter must not match any of the port values specified for
       options in the option group for the DB instance.
       </p>
       <p>
       Your database will restart when you change the <code>DBPortNumber</code> value regardless of the value of
       the <code>ApplyImmediately</code> parameter.
       </p>
       <p>
       Default: <code>8182</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/ModifyDBInstanceRequest.java