public UpdateSafetyRuleResult withGatingRule(GatingRule gatingRule) {
        setGatingRule(gatingRule);
        return this;
    }
<p>
The gating rule updated.
</p>

@param gatingRule
       The gating rule updated.
@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/UpdateSafetyRuleResult.java