public InputConfiguration withInputPort(Integer inputPort) {
        setInputPort(inputPort);
        return this;
    }
The port that the flow listens on for an incoming media stream.

@param inputPort
       The port that the flow listens on for an incoming media stream.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/InputConfiguration.java