public CreateResourceSetResult withResources(Resource... resources) {
        if (this.resources == null) {
            setResources(new java.util.ArrayList<Resource>(resources.length));
        }
        for (Resource ele : resources) {
            this.resources.add(ele);
        }
        return this;
    }
<p>
A list of resource objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResources(java.util.Collection)} or {@link #withResources(java.util.Collection)} if you want to
override the existing values.
</p>

@param resources
       A list of resource objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53recoveryreadiness/src/main/java/com/amazonaws/services/route53recoveryreadiness/model/CreateResourceSetResult.java