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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
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.Builderavoiding the need to create one manually viaAgentCollaboratorOutputPayload.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaMetadata.builder().When the
Consumercompletes,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:
-