public GetEnvironmentResult withEnvironmentActions(ConfigurableEnvironmentAction... environmentActions) {
        if (this.environmentActions == null) {
            setEnvironmentActions(new java.util.ArrayList<ConfigurableEnvironmentAction>(environmentActions.length));
        }
        for (ConfigurableEnvironmentAction ele : environmentActions) {
            this.environmentActions.add(ele);
        }
        return this;
    }
<p>
The actions of the environment.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnvironmentActions(java.util.Collection)} or {@link #withEnvironmentActions(java.util.Collection)} if
you want to override the existing values.
</p>

@param environmentActions
       The actions of the environment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/GetEnvironmentResult.java