public ListInferenceComponentsResult withInferenceComponents(InferenceComponentSummary... inferenceComponents) {
        if (this.inferenceComponents == null) {
            setInferenceComponents(new java.util.ArrayList<InferenceComponentSummary>(inferenceComponents.length));
        }
        for (InferenceComponentSummary ele : inferenceComponents) {
            this.inferenceComponents.add(ele);
        }
        return this;
    }
<p>
A list of inference components and their properties that matches any of the filters you specified in the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInferenceComponents(java.util.Collection)} or {@link #withInferenceComponents(java.util.Collection)}
if you want to override the existing values.
</p>

@param inferenceComponents
       A list of inference components and their properties that matches any of the filters you specified in the
       request.
@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/ListInferenceComponentsResult.java