Class CfnAgentPropsMixin.ActionGroupExecutorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnAgentPropsMixin.ActionGroupExecutorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin.ActionGroupExecutorProperty>
- Enclosing interface:
CfnAgentPropsMixin.ActionGroupExecutorProperty
@Stability(Stable)
public static final class CfnAgentPropsMixin.ActionGroupExecutorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin.ActionGroupExecutorProperty>
A builder for
CfnAgentPropsMixin.ActionGroupExecutorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customControl(String customControl) Sets the value ofCfnAgentPropsMixin.ActionGroupExecutorProperty.getCustomControl()Sets the value ofCfnAgentPropsMixin.ActionGroupExecutorProperty.getLambda()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customControl
@Stability(Stable) public CfnAgentPropsMixin.ActionGroupExecutorProperty.Builder customControl(String customControl) Sets the value ofCfnAgentPropsMixin.ActionGroupExecutorProperty.getCustomControl()- Parameters:
customControl- To return the action group invocation results directly in theInvokeInlineAgentresponse, specifyRETURN_CONTROL.- Returns:
this
-
lambda
@Stability(Stable) public CfnAgentPropsMixin.ActionGroupExecutorProperty.Builder lambda(String lambda) Sets the value ofCfnAgentPropsMixin.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<CfnAgentPropsMixin.ActionGroupExecutorProperty>- Returns:
- a new instance of
CfnAgentPropsMixin.ActionGroupExecutorProperty - Throws:
NullPointerException- if any required attribute was not provided
-