Class CfnAgent.FunctionSchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAgent.FunctionSchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgent.FunctionSchemaProperty>
- Enclosing interface:
CfnAgent.FunctionSchemaProperty
@Stability(Stable)
public static final class CfnAgent.FunctionSchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgent.FunctionSchemaProperty>
A builder for
CfnAgent.FunctionSchemaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAgent.FunctionSchemaProperty.getFunctions()
functions
(IResolvable functions) Sets the value ofCfnAgent.FunctionSchemaProperty.getFunctions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functions
Sets the value ofCfnAgent.FunctionSchemaProperty.getFunctions()
- Parameters:
functions
- A list of functions that each define an action in the action group. This parameter is required.- Returns:
this
-
functions
@Stability(Stable) public CfnAgent.FunctionSchemaProperty.Builder functions(List<? extends Object> functions) Sets the value ofCfnAgent.FunctionSchemaProperty.getFunctions()
- Parameters:
functions
- A list of functions that each define an action in the action group. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAgent.FunctionSchemaProperty>
- Returns:
- a new instance of
CfnAgent.FunctionSchemaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-