public BatchWriteOperation withAddFacetToObject(BatchAddFacetToObject addFacetToObject) {
        setAddFacetToObject(addFacetToObject);
        return this;
    }
<p>
A batch operation that adds a facet to an object.
</p>

@param addFacetToObject
       A batch operation that adds a facet to an object.
@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/BatchWriteOperation.java