public Patch withAdvisoryIds(String... advisoryIds) {
        if (this.advisoryIds == null) {
            setAdvisoryIds(new com.amazonaws.internal.SdkInternalList<String>(advisoryIds.length));
        }
        for (String ele : advisoryIds) {
            this.advisoryIds.add(ele);
        }
        return this;
    }
<p>
The Advisory ID of the patch. For example, <code>RHSA-2020:3779</code>. Applies to Linux-based managed nodes
only.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAdvisoryIds(java.util.Collection)} or {@link #withAdvisoryIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param advisoryIds
       The Advisory ID of the patch. For example, <code>RHSA-2020:3779</code>. Applies to Linux-based managed
       nodes only.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/Patch.java