public Facet withObjectType(String objectType) {
        setObjectType(objectType);
        return this;
    }
<p>
The object type that is associated with the facet. See <a>CreateFacetRequest$ObjectType</a> for more details.
</p>

@param objectType
       The object type that is associated with the facet. See <a>CreateFacetRequest$ObjectType</a> for more
       details.
@return Returns a reference to this object so that method calls can be chained together.
@see ObjectType
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/Facet.java