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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentCollaboratorInvocationOutput.BuilderagentCollaboratorAliasArn(String agentCollaboratorAliasArn)The output's agent collaborator alias ARN.AgentCollaboratorInvocationOutput.BuilderagentCollaboratorName(String agentCollaboratorName)The output's agent collaborator name.default AgentCollaboratorInvocationOutput.Buildermetadata(Consumer<Metadata.Builder> metadata)Contains information about the output from the agent collaborator.AgentCollaboratorInvocationOutput.Buildermetadata(Metadata metadata)Contains information about the output from the agent collaborator.default AgentCollaboratorInvocationOutput.Builderoutput(Consumer<AgentCollaboratorOutputPayload.Builder> output)The output's output.AgentCollaboratorInvocationOutput.Builderoutput(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 Detail
-
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
AgentCollaboratorInvocationOutput.Builder agentCollaboratorName(String 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
AgentCollaboratorInvocationOutput.Builder metadata(Metadata 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
default AgentCollaboratorInvocationOutput.Builder metadata(Consumer<Metadata.Builder> 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:
metadata(Metadata)
-
output
AgentCollaboratorInvocationOutput.Builder output(AgentCollaboratorOutputPayload 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:
output(AgentCollaboratorOutputPayload)
-
-