public ProductionVariantSummary withVariantStatus(ProductionVariantStatus... variantStatus) {
        if (this.variantStatus == null) {
            setVariantStatus(new java.util.ArrayList<ProductionVariantStatus>(variantStatus.length));
        }
        for (ProductionVariantStatus ele : variantStatus) {
            this.variantStatus.add(ele);
        }
        return this;
    }
<p>
The endpoint variant status which describes the current deployment stage status or operational status.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVariantStatus(java.util.Collection)} or {@link #withVariantStatus(java.util.Collection)} if you want
to override the existing values.
</p>

@param variantStatus
       The endpoint variant status which describes the current deployment stage status or operational status.
@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/ProductionVariantSummary.java