public Output withBridgePorts(Integer... bridgePorts) {
        if (this.bridgePorts == null) {
            setBridgePorts(new java.util.ArrayList<Integer>(bridgePorts.length));
        }
        for (Integer ele : bridgePorts) {
            this.bridgePorts.add(ele);
        }
        return this;
    }
The bridge output ports currently in use.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setBridgePorts(java.util.Collection)} or {@link #withBridgePorts(java.util.Collection)} if you want to
override the existing values.
</p>

@param bridgePorts
       The bridge output ports currently in use.
@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/Output.java