public Configurations withHistory(ConfigurationId... history) {
        if (this.history == null) {
            setHistory(new java.util.ArrayList<ConfigurationId>(history.length));
        }
        for (ConfigurationId ele : history) {
            this.history.add(ele);
        }
        return this;
    }
<p>
The history of configurations applied to the broker.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHistory(java.util.Collection)} or {@link #withHistory(java.util.Collection)} if you want to override
the existing values.
</p>

@param history
       The history of configurations applied to the broker.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/Configurations.java