public LockRuleResult withResourceTags(ResourceTag... resourceTags) {
        if (this.resourceTags == null) {
            setResourceTags(new java.util.ArrayList<ResourceTag>(resourceTags.length));
        }
        for (ResourceTag ele : resourceTags) {
            this.resourceTags.add(ele);
        }
        return this;
    }
<p>
Information about the resource tags used to identify resources that are retained by the retention rule.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResourceTags(java.util.Collection)} or {@link #withResourceTags(java.util.Collection)} if you want to
override the existing values.
</p>

@param resourceTags
       Information about the resource tags used to identify resources that are retained by the retention rule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-recyclebin/src/main/java/com/amazonaws/services/recyclebin/model/LockRuleResult.java