public ReplaceTopicRuleRequest withTopicRulePayload(TopicRulePayload topicRulePayload) {
        setTopicRulePayload(topicRulePayload);
        return this;
    }
<p>
The rule payload.
</p>

@param topicRulePayload
       The rule payload.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ReplaceTopicRuleRequest.java