public CreateInputRequest withSources(InputSourceRequest... sources) {
        if (this.sources == null) {
            setSources(new java.util.ArrayList<InputSourceRequest>(sources.length));
        }
        for (InputSourceRequest ele : sources) {
            this.sources.add(ele);
        }
        return this;
    }
public CreateInputRequest withSources ( InputSourceRequest ... sources ) { if ( this . sources == null ) { setSources ( new java . util . ArrayList < InputSourceRequest > ( sources . length ) ) ; } for ( InputSourceRequest ele : sources ) { this . sources . add ( ele ) ; } return this ; }
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only
specify sources for PULL type Inputs. Leave Destinations empty.

<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSources(java.util.Collection)} or {@link #withSources(java.util.Collection)} if you want to override
the existing values.
</p>

@param sources
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy.
Only specify sources for PULL type Inputs. Leave Destinations empty.
@return Returns a reference to this object so that method calls can be chained together.