Interface CreateAgentActionGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<CreateAgentActionGroupResponse.Builder,
,CreateAgentActionGroupResponse> SdkBuilder<CreateAgentActionGroupResponse.Builder,
,CreateAgentActionGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAgentActionGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateAgentActionGroupResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<CreateAgentActionGroupResponse.Builder,CreateAgentActionGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentActionGroup
(Consumer<AgentActionGroup.Builder> agentActionGroup) Contains details about the action group that was created.agentActionGroup
(AgentActionGroup agentActionGroup) Contains details about the action group that was created.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
-
agentActionGroup
Contains details about the action group that was created.
- Parameters:
agentActionGroup
- Contains details about the action group that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentActionGroup
default CreateAgentActionGroupResponse.Builder agentActionGroup(Consumer<AgentActionGroup.Builder> agentActionGroup) Contains details about the action group that was created.
This is a convenience method that creates an instance of theAgentActionGroup.Builder
avoiding the need to create one manually viaAgentActionGroup.builder()
.When the
Consumer
completes,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:
-