public CreateFacetRequest withFacetStyle(String facetStyle) {
        setFacetStyle(facetStyle);
        return this;
    }
<p>
There are two different styles that you can define on any given facet, <code>Static</code> and
<code>Dynamic</code>. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.
</p>

@param facetStyle
       There are two different styles that you can define on any given facet, <code>Static</code> and
       <code>Dynamic</code>. For static facets, all attributes must be defined in the schema. For dynamic facets,
       attributes can be defined during data plane operations.
@return Returns a reference to this object so that method calls can be chained together.
@see FacetStyle
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/CreateFacetRequest.java