public DataRetrievalPolicy withRules(java.util.Collection<DataRetrievalRule> rules) {
        setRules(rules);
        return this;
    }
<p>
The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy
field and optionally a BytesPerHour field.
</p>

@param rules
       The policy rule. Although this is a list type, currently there must be only one rule, which contains a
       Strategy field and optionally a BytesPerHour field.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/DataRetrievalPolicy.java