public DescribePullThroughCacheRulesResult withPullThroughCacheRules(PullThroughCacheRule... pullThroughCacheRules) {
        if (this.pullThroughCacheRules == null) {
            setPullThroughCacheRules(new java.util.ArrayList<PullThroughCacheRule>(pullThroughCacheRules.length));
        }
        for (PullThroughCacheRule ele : pullThroughCacheRules) {
            this.pullThroughCacheRules.add(ele);
        }
        return this;
    }
<p>
The details of the pull through cache rules.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPullThroughCacheRules(java.util.Collection)} or
{@link #withPullThroughCacheRules(java.util.Collection)} if you want to override the existing values.
</p>

@param pullThroughCacheRules
       The details of the pull through cache rules.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/DescribePullThroughCacheRulesResult.java