Package org.a2aproject.sdk.spec
Class TaskIdParams.Builder
java.lang.Object
org.a2aproject.sdk.spec.TaskIdParams.Builder
- Enclosing class:
- TaskIdParams
Builder for constructing instances.
-
Method Summary
-
Method Details
-
id
Sets the id.- Parameters:
id- the task identifier (required)- Returns:
- this builder for method chaining
-
tenant
Sets the tenant.- Parameters:
tenant- the tenant identifier- Returns:
- this builder for method chaining
-
build
Builds the TaskIdParams.- Returns:
- a new TaskIdParams instance
- Throws:
IllegalArgumentException- if id is null
-