public WorkerCapabilities withAttributes(java.util.Collection<WorkerAttributeCapability> attributes) {
        setAttributes(attributes);
        return this;
    }
<p>
The worker attribute capabilities in the list of attribute capabilities.
</p>

@param attributes
       The worker attribute capabilities in the list of attribute capabilities.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/WorkerCapabilities.java