public BatchWriteOperation withDetachFromIndex(BatchDetachFromIndex detachFromIndex) {
        setDetachFromIndex(detachFromIndex);
        return this;
    }
<p>
Detaches the specified object from the specified index.
</p>

@param detachFromIndex
       Detaches the specified object from the specified index.
@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