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

        this.attributes = new com.amazonaws.internal.SdkInternalList<Attribute>(attributes);
    }
<p>
The attributes of the task
</p>

@param attributes
       The attributes of the task
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Task.java