public void setAttachObject(BatchAttachObject attachObject) {
        this.attachObject = attachObject;
    }
<p>
Attaches an object to a <a>Directory</a>.
</p>

@param attachObject
       Attaches an object to a <a>Directory</a>.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/BatchWriteOperation.java