public SimulationApplicationConfig withWorldConfigs(WorldConfig... worldConfigs) {
        if (this.worldConfigs == null) {
            setWorldConfigs(new java.util.ArrayList<WorldConfig>(worldConfigs.length));
        }
        for (WorldConfig ele : worldConfigs) {
            this.worldConfigs.add(ele);
        }
        return this;
    }
<p>
A list of world configurations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWorldConfigs(java.util.Collection)} or {@link #withWorldConfigs(java.util.Collection)} if you want to
override the existing values.
</p>

@param worldConfigs
       A list of world configurations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/SimulationApplicationConfig.java