public LocalPortDetails withPortName(String portName) {
        setPortName(portName);
        return this;
    }
<p>
The port name of the local connection.
</p>

@param portName
       The port name of the local connection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/LocalPortDetails.java