Interface AgentCollaboratorInvocationOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentCollaboratorInvocationOutput.Builder,
,AgentCollaboratorInvocationOutput> SdkBuilder<AgentCollaboratorInvocationOutput.Builder,
,AgentCollaboratorInvocationOutput> SdkPojo
- Enclosing class:
AgentCollaboratorInvocationOutput
@Mutable
@NotThreadSafe
public static interface AgentCollaboratorInvocationOutput.Builder
extends SdkPojo, CopyableBuilder<AgentCollaboratorInvocationOutput.Builder,AgentCollaboratorInvocationOutput>
-
Method Summary
Modifier and TypeMethodDescriptionagentCollaboratorAliasArn
(String agentCollaboratorAliasArn) The output's agent collaborator alias ARN.agentCollaboratorName
(String agentCollaboratorName) The output's agent collaborator name.metadata
(Consumer<Metadata.Builder> metadata) Contains information about the output from the agent collaborator.Contains information about the output from the agent collaborator.The output's output.output
(AgentCollaboratorOutputPayload output) The output's 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
-
agentCollaboratorAliasArn
AgentCollaboratorInvocationOutput.Builder agentCollaboratorAliasArn(String agentCollaboratorAliasArn) The output's agent collaborator alias ARN.
- Parameters:
agentCollaboratorAliasArn
- The output's agent collaborator alias ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCollaboratorName
The output's agent collaborator name.
- Parameters:
agentCollaboratorName
- The output's agent collaborator name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Contains information about the output from the agent collaborator.
- Parameters:
metadata
- Contains information about the output from the agent collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Contains information about the output from the agent collaborator.
This is a convenience method that creates an instance of theMetadata.Builder
avoiding the need to create one manually viaMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(Metadata)
.- Parameters:
metadata
- a consumer that will call methods onMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
output
The output's output.
- Parameters:
output
- The output's output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
output
default AgentCollaboratorInvocationOutput.Builder output(Consumer<AgentCollaboratorOutputPayload.Builder> output) The output's output.
This is a convenience method that creates an instance of theAgentCollaboratorOutputPayload.Builder
avoiding the need to create one manually viaAgentCollaboratorOutputPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutput(AgentCollaboratorOutputPayload)
.- Parameters:
output
- a consumer that will call methods onAgentCollaboratorOutputPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-