public final class DefaultLinkResourceRequest extends Object implements LinkResourceRequest
LinkResourceRequest.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultLinkResourceRequest.Builder
Builder of link resource request.
|
| Modifier and Type | Method and Description |
|---|---|
static LinkResourceRequest.Builder |
builder(IntentId intentId,
Collection<Link> links)
Returns builder of link resource request.
|
IntentId |
intendId()
Returns the
IntentId associated with the request. |
Collection<Link> |
links()
Returns the set of target links.
|
Set<ResourceRequest> |
resources()
Returns the set of resource requests.
|
ResourceType |
type()
Returns the resource type.
|
public ResourceType type()
ResourceRequesttype in interface ResourceRequestpublic IntentId intendId()
LinkResourceRequestIntentId associated with the request.intendId in interface LinkResourceRequestIntentId associated with the requestpublic Collection<Link> links()
LinkResourceRequestlinks in interface LinkResourceRequestpublic Set<ResourceRequest> resources()
LinkResourceRequestresources in interface LinkResourceRequestpublic static LinkResourceRequest.Builder builder(IntentId intentId, Collection<Link> links)
intentId - intent ID related to this requestlinks - a set of links for the requestCopyright © 2015. All rights reserved.