import java.net.URI;
// tag::resource[]

public class Resource {
    private URI uri;

    public URI getUri() {
        return uri;
    }
    public void setUri(URI uri) {
        this.uri = uri;
    }
}
// end::resource[]
