public StartSourceNetworkRecoveryRequest withSourceNetworks(StartSourceNetworkRecoveryRequestNetworkEntry... sourceNetworks) {
        if (this.sourceNetworks == null) {
            setSourceNetworks(new java.util.ArrayList<StartSourceNetworkRecoveryRequestNetworkEntry>(sourceNetworks.length));
        }
        for (StartSourceNetworkRecoveryRequestNetworkEntry ele : sourceNetworks) {
            this.sourceNetworks.add(ele);
        }
        return this;
    }
<p>
The Source Networks that we want to start a Recovery Job for.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSourceNetworks(java.util.Collection)} or {@link #withSourceNetworks(java.util.Collection)} if you want
to override the existing values.
</p>

@param sourceNetworks
       The Source Networks that we want to start a Recovery Job for.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/StartSourceNetworkRecoveryRequest.java