public UpdateParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues) {
        if (this.parameterNameValues == null) {
            setParameterNameValues(new java.util.ArrayList<ParameterNameValue>(parameterNameValues.length));
        }
        for (ParameterNameValue ele : parameterNameValues) {
            this.parameterNameValues.add(ele);
        }
        return this;
    }
<p>
An array of name-value pairs for the parameters in the group. Each element in the array represents a single
parameter.
</p>
<note>
<p>
<code>record-ttl-millis</code> and <code>query-ttl-millis</code> are the only supported parameter names. For more
details, see <a href=
"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.cluster-management.html#DAX.cluster-management.custom-settings.ttl"
>Configuring TTL Settings</a>.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setParameterNameValues(java.util.Collection)} or {@link #withParameterNameValues(java.util.Collection)}
if you want to override the existing values.
</p>

@param parameterNameValues
       An array of name-value pairs for the parameters in the group. Each element in the array represents a
       single parameter.</p> <note>
       <p>
       <code>record-ttl-millis</code> and <code>query-ttl-millis</code> are the only supported parameter names.
       For more details, see <a href=
       "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.cluster-management.html#DAX.cluster-management.custom-settings.ttl"
       >Configuring TTL Settings</a>.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dax/src/main/java/com/amazonaws/services/dax/model/UpdateParameterGroupRequest.java