Interface UpdateAgentCollaboratorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<UpdateAgentCollaboratorResponse.Builder,,UpdateAgentCollaboratorResponse> SdkBuilder<UpdateAgentCollaboratorResponse.Builder,,UpdateAgentCollaboratorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAgentCollaboratorResponse
@Mutable
@NotThreadSafe
public static interface UpdateAgentCollaboratorResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateAgentCollaboratorResponse.Builder,UpdateAgentCollaboratorResponse>
-
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, responseMetadataMethods 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, sdkFieldsMethods 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 UpdateAgentCollaboratorResponse.Builder agentCollaborator(Consumer<AgentCollaborator.Builder> agentCollaborator) Details about the collaborator.
This is a convenience method that creates an instance of theAgentCollaborator.Builderavoiding the need to create one manually viaAgentCollaborator.builder().When the
Consumercompletes,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:
-