public UpdateEnvironmentProfileRequest withUserParameters(EnvironmentParameter... userParameters) {
        if (this.userParameters == null) {
            setUserParameters(new java.util.ArrayList<EnvironmentParameter>(userParameters.length));
        }
        for (EnvironmentParameter ele : userParameters) {
            this.userParameters.add(ele);
        }
        return this;
    }
<p>
The user parameters to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUserParameters(java.util.Collection)} or {@link #withUserParameters(java.util.Collection)} if you want
to override the existing values.
</p>

@param userParameters
       The user parameters to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
@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/UpdateEnvironmentProfileRequest.java