public void setAddResources(java.util.Collection<ResourceDefinition> addResources) {
        if (addResources == null) {
            this.addResources = null;
            return;
        }

        this.addResources = new com.amazonaws.internal.SdkInternalList<ResourceDefinition>(addResources);
    }
<p>
An optional list of resources to be added to the generated template.
</p>

@param addResources
       An optional list of resources to be added to the generated template.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/UpdateGeneratedTemplateRequest.java