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

        this.attributes = new java.util.ArrayList<FacetAttribute>(attributes);
    }
<p>
The attributes that are associated with the <a>Facet</a>.
</p>

@param attributes
       The attributes that are associated with the <a>Facet</a>.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/CreateFacetRequest.java