Interface AgentCollaboratorOutputPayload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentCollaboratorOutputPayload.Builder,
,AgentCollaboratorOutputPayload> SdkBuilder<AgentCollaboratorOutputPayload.Builder,
,AgentCollaboratorOutputPayload> SdkPojo
- Enclosing class:
AgentCollaboratorOutputPayload
@Mutable
@NotThreadSafe
public static interface AgentCollaboratorOutputPayload.Builder
extends SdkPojo, CopyableBuilder<AgentCollaboratorOutputPayload.Builder,AgentCollaboratorOutputPayload>
-
Method Summary
Modifier and TypeMethodDescriptionreturnControlPayload
(Consumer<ReturnControlPayload.Builder> returnControlPayload) An action invocation result.returnControlPayload
(ReturnControlPayload returnControlPayload) An action invocation result.Text output.The type of output.type
(PayloadType type) The type of output.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
-
returnControlPayload
AgentCollaboratorOutputPayload.Builder returnControlPayload(ReturnControlPayload returnControlPayload) An action invocation result.
- Parameters:
returnControlPayload
- An action invocation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnControlPayload
default AgentCollaboratorOutputPayload.Builder returnControlPayload(Consumer<ReturnControlPayload.Builder> returnControlPayload) An action invocation result.
This is a convenience method that creates an instance of theReturnControlPayload.Builder
avoiding the need to create one manually viaReturnControlPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreturnControlPayload(ReturnControlPayload)
.- Parameters:
returnControlPayload
- a consumer that will call methods onReturnControlPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
text
Text output.
- Parameters:
text
- Text output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of output.
- Parameters:
type
- The type of output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of output.
- Parameters:
type
- The type of output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-