public DetachFromIndexRequest withTargetReference(ObjectReference targetReference) {
        setTargetReference(targetReference);
        return this;
    }
<p>
A reference to the object being detached from the index.
</p>

@param targetReference
       A reference to the object being detached from the 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/DetachFromIndexRequest.java