Class CfnAgent.ActionGroupExecutorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAgent.ActionGroupExecutorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgent.ActionGroupExecutorProperty>
- Enclosing interface:
CfnAgent.ActionGroupExecutorProperty
@Stability(Stable)
public static final class CfnAgent.ActionGroupExecutorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgent.ActionGroupExecutorProperty>
A builder for
CfnAgent.ActionGroupExecutorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customControl(String customControl) Sets the value ofCfnAgent.ActionGroupExecutorProperty.getCustomControl()Sets the value ofCfnAgent.ActionGroupExecutorProperty.getLambda()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customControl
@Stability(Stable) public CfnAgent.ActionGroupExecutorProperty.Builder customControl(String customControl) Sets the value ofCfnAgent.ActionGroupExecutorProperty.getCustomControl()- Parameters:
customControl- To return the action group invocation results directly in theInvokeInlineAgentresponse, specifyRETURN_CONTROL.- Returns:
this
-
lambda
Sets the value ofCfnAgent.ActionGroupExecutorProperty.getLambda()- Parameters:
lambda- The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgent.ActionGroupExecutorProperty>- Returns:
- a new instance of
CfnAgent.ActionGroupExecutorProperty - Throws:
NullPointerException- if any required attribute was not provided
-