Interface UpdateAgentActionGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<UpdateAgentActionGroupResponse.Builder,,UpdateAgentActionGroupResponse> SdkBuilder<UpdateAgentActionGroupResponse.Builder,,UpdateAgentActionGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAgentActionGroupResponse
@Mutable
@NotThreadSafe
public static interface UpdateAgentActionGroupResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateAgentActionGroupResponse.Builder,UpdateAgentActionGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentActionGroup(Consumer<AgentActionGroup.Builder> agentActionGroup) Contains details about the action group that was updated.agentActionGroup(AgentActionGroup agentActionGroup) Contains details about the action group 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agentActionGroup
Contains details about the action group that was updated.
- Parameters:
agentActionGroup- Contains details about the action group that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentActionGroup
default UpdateAgentActionGroupResponse.Builder agentActionGroup(Consumer<AgentActionGroup.Builder> agentActionGroup) Contains details about the action group that was updated.
This is a convenience method that creates an instance of theAgentActionGroup.Builderavoiding the need to create one manually viaAgentActionGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentActionGroup(AgentActionGroup).- Parameters:
agentActionGroup- a consumer that will call methods onAgentActionGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-