public CreateFacetRequest withAttributes(java.util.Collection<FacetAttribute> attributes) {
        setAttributes(attributes);
        return this;
    }
<p>
The attributes that are associated with the <a>Facet</a>.
</p>

@param attributes
       The attributes that are associated with the <a>Facet</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/CreateFacetRequest.java