Interface ToolResultStructuredContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ToolResultStructuredContent.Builder,
,ToolResultStructuredContent> SdkBuilder<ToolResultStructuredContent.Builder,
,ToolResultStructuredContent> SdkPojo
- Enclosing class:
ToolResultStructuredContent
@Mutable
@NotThreadSafe
public static interface ToolResultStructuredContent.Builder
extends SdkPojo, CopyableBuilder<ToolResultStructuredContent.Builder,ToolResultStructuredContent>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionTime
(Double executionTime) The execution time of the tool operation in milliseconds.The exit code from the tool execution.The standard error output from the tool execution.The standard output from the tool execution.The identifier of the task that produced the result.taskStatus
(String taskStatus) The status of the task that produced the result.taskStatus
(TaskStatus taskStatus) The status of the task that produced the result.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
taskId
The identifier of the task that produced the result.
- Parameters:
taskId
- The identifier of the task that produced the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
The status of the task that produced the result.
- Parameters:
taskStatus
- The status of the task that produced the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskStatus
The status of the task that produced the result.
- Parameters:
taskStatus
- The status of the task that produced the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stdout
The standard output from the tool execution.
- Parameters:
stdout
- The standard output from the tool execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stderr
The standard error output from the tool execution.
- Parameters:
stderr
- The standard error output from the tool execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exitCode
The exit code from the tool execution.
- Parameters:
exitCode
- The exit code from the tool execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionTime
The execution time of the tool operation in milliseconds.
- Parameters:
executionTime
- The execution time of the tool operation in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-