public ContainerDefinition withAdditionalModelDataSources(AdditionalModelDataSource... additionalModelDataSources) {
        if (this.additionalModelDataSources == null) {
            setAdditionalModelDataSources(new java.util.ArrayList<AdditionalModelDataSource>(additionalModelDataSources.length));
        }
        for (AdditionalModelDataSource ele : additionalModelDataSources) {
            this.additionalModelDataSources.add(ele);
        }
        return this;
    }
<p>
Data sources that are available to your model in addition to the one that you specify for
<code>ModelDataSource</code> when you use the <code>CreateModel</code> action.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAdditionalModelDataSources(java.util.Collection)} or
{@link #withAdditionalModelDataSources(java.util.Collection)} if you want to override the existing values.
</p>

@param additionalModelDataSources
       Data sources that are available to your model in addition to the one that you specify for
       <code>ModelDataSource</code> when you use the <code>CreateModel</code> action.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ContainerDefinition.java