public void setAttributes(java.util.Collection<WorkerAttributeCapability> attributes) {
        if (attributes == null) {
            this.attributes = null;
            return;
        }

        this.attributes = new java.util.ArrayList<WorkerAttributeCapability>(attributes);
    }
<p>
The worker attribute capabilities in the list of attribute capabilities.
</p>

@param attributes
       The worker attribute capabilities in the list of attribute capabilities.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/WorkerCapabilities.java