public void setChildReference(ObjectReference childReference) {
        this.childReference = childReference;
    }
<p>
The child object reference to be attached to the object.
</p>

@param childReference
       The child object reference to be attached to the object.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/AttachObjectRequest.java