public ListPackagingGroupsResult withPackagingGroups(PackagingGroup... packagingGroups) {
        if (this.packagingGroups == null) {
            setPackagingGroups(new java.util.ArrayList<PackagingGroup>(packagingGroups.length));
        }
        for (PackagingGroup ele : packagingGroups) {
            this.packagingGroups.add(ele);
        }
        return this;
    }
A list of MediaPackage VOD PackagingGroup resources.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPackagingGroups(java.util.Collection)} or {@link #withPackagingGroups(java.util.Collection)} if you
want to override the existing values.
</p>

@param packagingGroups
       A list of MediaPackage VOD PackagingGroup resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsResult.java