public BackupRule withRuleId(String ruleId) {
        setRuleId(ruleId);
        return this;
    }
<p>
Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
</p>

@param ruleId
       Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/BackupRule.java