public ListAssociationVersionsResult withAssociationVersions(AssociationVersionInfo... associationVersions) {
        if (this.associationVersions == null) {
            setAssociationVersions(new com.amazonaws.internal.SdkInternalList<AssociationVersionInfo>(associationVersions.length));
        }
        for (AssociationVersionInfo ele : associationVersions) {
            this.associationVersions.add(ele);
        }
        return this;
    }
<p>
Information about all versions of the association for the specified association ID.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssociationVersions(java.util.Collection)} or {@link #withAssociationVersions(java.util.Collection)}
if you want to override the existing values.
</p>

@param associationVersions
       Information about all versions of the association for the specified association ID.
@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/ListAssociationVersionsResult.java