public UpdateRoutingControlStatesRequest withSafetyRulesToOverride(String... safetyRulesToOverride) {
        if (this.safetyRulesToOverride == null) {
            setSafetyRulesToOverride(new java.util.ArrayList<String>(safetyRulesToOverride.length));
        }
        for (String ele : safetyRulesToOverride) {
            this.safetyRulesToOverride.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing
control states. You can override one safety rule or multiple safety rules by including one or more ARNs,
separated by commas.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html"> Override
safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSafetyRulesToOverride(java.util.Collection)} or
{@link #withSafetyRulesToOverride(java.util.Collection)} if you want to override the existing values.
</p>

@param safetyRulesToOverride
       The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating
       routing control states. You can override one safety rule or multiple safety rules by including one or more
       ARNs, separated by commas.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
       Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller
       Developer Guide.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53recoverycluster/src/main/java/com/amazonaws/services/route53recoverycluster/model/UpdateRoutingControlStatesRequest.java