public Service withRoot(Boolean root) {
        setRoot(root);
        return this;
    }
<p>
Indicates that the service was the first service to process a request.
</p>

@param root
       Indicates that the service was the first service to process a request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/Service.java