public UpdateSafetyRuleRequest withGatingRuleUpdate(GatingRuleUpdate gatingRuleUpdate) {
        setGatingRuleUpdate(gatingRuleUpdate);
        return this;
    }
<p>
The gating rule to update.
</p>

@param gatingRuleUpdate
       The gating rule to update.
@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/UpdateSafetyRuleRequest.java