public void setDetachObject(BatchDetachObject detachObject) {
        this.detachObject = detachObject;
    }
<p>
Detaches an object from a <a>Directory</a>.
</p>

@param detachObject
       Detaches an object from a <a>Directory</a>.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/BatchWriteOperation.java