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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AgentCollaboratorOutputPayload.BuilderreturnControlPayload(Consumer<ReturnControlPayload.Builder> returnControlPayload)An action invocation result.AgentCollaboratorOutputPayload.BuilderreturnControlPayload(ReturnControlPayload returnControlPayload)An action invocation result.AgentCollaboratorOutputPayload.Buildertext(String text)Text output.AgentCollaboratorOutputPayload.Buildertype(String type)The type of output.AgentCollaboratorOutputPayload.Buildertype(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 Detail
-
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.Builderavoiding the need to create one manually viaReturnControlPayload.builder().When the
Consumercompletes,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:
returnControlPayload(ReturnControlPayload)
-
text
AgentCollaboratorOutputPayload.Builder text(String text)
Text output.
- Parameters:
text- Text output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AgentCollaboratorOutputPayload.Builder type(String 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:
PayloadType,PayloadType
-
type
AgentCollaboratorOutputPayload.Builder type(PayloadType 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:
PayloadType,PayloadType
-
-