public GetBundlesResult withBundles(Bundle... bundles) {
        if (this.bundles == null) {
            setBundles(new java.util.ArrayList<Bundle>(bundles.length));
        }
        for (Bundle ele : bundles) {
            this.bundles.add(ele);
        }
        return this;
    }
public GetBundlesResult withBundles ( Bundle ... bundles ) { if ( this . bundles == null ) { setBundles ( new java . util . ArrayList < Bundle > ( bundles . length ) ) ; } for ( Bundle ele : bundles ) { this . bundles . add ( ele ) ; } return this ; }
<p>
An array of key-value pairs that contains information about the available bundles.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setBundles(java.util.Collection)} or {@link #withBundles(java.util.Collection)} if you want to override
the existing values.
</p>

@param bundles
An array of key-value pairs that contains information about the available bundles.
@return Returns a reference to this object so that method calls can be chained together.