Interface UpdateAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<UpdateAgentResponse.Builder,,UpdateAgentResponse> SdkBuilder<UpdateAgentResponse.Builder,,UpdateAgentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAgentResponse
public static interface UpdateAgentResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateAgentResponse.Builder,UpdateAgentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAgentResponse.Builderagent(Consumer<Agent.Builder> agent) Contains details about the agent that was updated.Contains details about the agent that was updated.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agent
Contains details about the agent that was updated.
- Parameters:
agent- Contains details about the agent that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agent
Contains details about the agent that was updated.
This is a convenience method that creates an instance of theAgent.Builderavoiding the need to create one manually viaAgent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagent(Agent).- Parameters:
agent- a consumer that will call methods onAgent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-