public UpdateEnvironmentResult withEnvironmentLinks(EnvironmentLink... environmentLinks) {
        if (this.environmentLinks == null) {
            setEnvironmentLinks(new com.amazonaws.internal.SdkInternalList<EnvironmentLink>(environmentLinks.length));
        }
        for (EnvironmentLink ele : environmentLinks) {
            this.environmentLinks.add(ele);
        }
        return this;
    }
<p>
A list of links to other environments in the same group.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnvironmentLinks(java.util.Collection)} or {@link #withEnvironmentLinks(java.util.Collection)} if you
want to override the existing values.
</p>

@param environmentLinks
       A list of links to other environments in the same group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/UpdateEnvironmentResult.java