public NetworkConnectionAction withRemotePortDetails(ActionRemotePortDetails remotePortDetails) {
        setRemotePortDetails(remotePortDetails);
        return this;
    }
<p>
Information about the port on the remote IP address.
</p>

@param remotePortDetails
       Information about the port on the remote IP address.
@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/NetworkConnectionAction.java