public NewGatingRule withGatingControls(String... gatingControls) {
        if (this.gatingControls == null) {
            setGatingControls(new java.util.ArrayList<String>(gatingControls.length));
        }
        for (String ele : gatingControls) {
            this.gatingControls.add(ele);
        }
        return this;
    }
<p>
The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule
configuration that you specify.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setGatingControls(java.util.Collection)} or {@link #withGatingControls(java.util.Collection)} if you want
to override the existing values.
</p>

@param gatingControls
       The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule
       configuration that you specify.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53recoverycontrolconfig/src/main/java/com/amazonaws/services/route53recoverycontrolconfig/model/NewGatingRule.java