Class SubscribeToTaskRequest.Builder
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.SubscribeToTaskRequest.Builder
- Enclosing class:
- SubscribeToTaskRequest
Builder for constructing instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the instance.Sets the request ID.Sets the JSON-RPC version.params(TaskIdParams params) Sets the request parameters.
-
Method Details
-
jsonrpc
Sets the JSON-RPC version.- Parameters:
jsonrpc- the JSON-RPC version- Returns:
- this builder for method chaining
-
id
Sets the request ID.- Parameters:
id- the request ID- Returns:
- this builder for method chaining
-
params
Sets the request parameters.- Parameters:
params- the request parameters- Returns:
- this builder for method chaining
-
build
Builds the instance.- Returns:
- a new instance
-