Package org.a2aproject.sdk.spec
Class ListTasksParams.Builder
java.lang.Object
org.a2aproject.sdk.spec.ListTasksParams.Builder
- Enclosing class:
- ListTasksParams
Builder for constructing instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the ListTasksParams.Sets the contextId.historyLength(Integer historyLength) Sets the historyLength.includeArtifacts(Boolean includeArtifacts) Sets the includeArtifacts.Sets the pageSize.Sets the pageToken.Sets the status.statusTimestampAfter(Instant statusTimestampAfter) Sets the statusTimestampAfter.Sets the tenant.
-
Method Details
-
contextId
Sets the contextId.- Parameters:
contextId- the contextId- Returns:
- this builder for method chaining
-
status
Sets the status.- Parameters:
status- the status- Returns:
- this builder for method chaining
-
pageSize
Sets the pageSize.- Parameters:
pageSize- the pageSize- Returns:
- this builder for method chaining
-
pageToken
Sets the pageToken.- Parameters:
pageToken- the pageToken- Returns:
- this builder for method chaining
-
historyLength
Sets the historyLength.- Parameters:
historyLength- the historyLength- Returns:
- this builder for method chaining
-
statusTimestampAfter
Sets the statusTimestampAfter.- Parameters:
statusTimestampAfter- the statusTimestampAfter- Returns:
- this builder for method chaining
-
includeArtifacts
Sets the includeArtifacts.- Parameters:
includeArtifacts- the includeArtifacts- Returns:
- this builder for method chaining
-
tenant
Sets the tenant.- Parameters:
tenant- the tenant- Returns:
- this builder for method chaining
-
build
Builds the ListTasksParams.- Returns:
- a new ListTasksParams instance
-