Interface AssociateAgentCollaboratorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<AssociateAgentCollaboratorResponse.Builder,
,AssociateAgentCollaboratorResponse> SdkBuilder<AssociateAgentCollaboratorResponse.Builder,
,AssociateAgentCollaboratorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateAgentCollaboratorResponse
@Mutable
@NotThreadSafe
public static interface AssociateAgentCollaboratorResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<AssociateAgentCollaboratorResponse.Builder,AssociateAgentCollaboratorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentCollaborator
(Consumer<AgentCollaborator.Builder> agentCollaborator) Details about the collaborator.agentCollaborator
(AgentCollaborator agentCollaborator) Details about the collaborator.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agentCollaborator
Details about the collaborator.
- Parameters:
agentCollaborator
- Details about the collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCollaborator
default AssociateAgentCollaboratorResponse.Builder agentCollaborator(Consumer<AgentCollaborator.Builder> agentCollaborator) Details about the collaborator.
This is a convenience method that creates an instance of theAgentCollaborator.Builder
avoiding the need to create one manually viaAgentCollaborator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentCollaborator(AgentCollaborator)
.- Parameters:
agentCollaborator
- a consumer that will call methods onAgentCollaborator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-