Class DeleteTaskPushNotificationConfigRequest.Builder
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.DeleteTaskPushNotificationConfigRequest.Builder
- Enclosing class:
- DeleteTaskPushNotificationConfigRequest
Builder for constructing
DeleteTaskPushNotificationConfigRequest instances.
Provides a fluent API for setting request parameters. If no id is provided,
a random UUID will be generated when build() is called.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newDeleteTaskPushNotificationConfigRequestfrom the current builder state.Sets the request identifier.Sets the JSON-RPC protocol version.Sets the request parameters.
-
Method Details
-
jsonrpc
Sets the JSON-RPC protocol version.- Parameters:
jsonrpc- the JSON-RPC version (optional, defaults to "2.0")- Returns:
- this builder for method chaining
-
id
Sets the request identifier.- Parameters:
id- the request identifier (string, integer, or null; if null, a UUID will be generated)- Returns:
- this builder for method chaining
-
params
public DeleteTaskPushNotificationConfigRequest.Builder params(DeleteTaskPushNotificationConfigParams params) Sets the request parameters.- Parameters:
params- the request parameters containing task and config IDs (required)- Returns:
- this builder for method chaining
-
build
Builds a newDeleteTaskPushNotificationConfigRequestfrom the current builder state.If no id was provided, a random UUID will be generated.
- Returns:
- a new DeleteTaskPushNotificationConfigRequest instance
- Throws:
IllegalArgumentException- if validation fails (invalid method, invalid id type)
-