Class CfnAgent.ParameterDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAgent.ParameterDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgent.ParameterDetailProperty>
- Enclosing interface:
CfnAgent.ParameterDetailProperty
@Stability(Stable)
public static final class CfnAgent.ParameterDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgent.ParameterDetailProperty>
A builder for
CfnAgent.ParameterDetailProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAgent.ParameterDetailProperty.getDescription()Sets the value ofCfnAgent.ParameterDetailProperty.getRequired()required(IResolvable required) Sets the value ofCfnAgent.ParameterDetailProperty.getRequired()Sets the value ofCfnAgent.ParameterDetailProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnAgent.ParameterDetailProperty.getType()- Parameters:
type- The data type of the parameter. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAgent.ParameterDetailProperty.getDescription()- Parameters:
description- A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.- Returns:
this
-
required
Sets the value ofCfnAgent.ParameterDetailProperty.getRequired()- Parameters:
required- Whether the parameter is required for the agent to complete the function for action group invocation.- Returns:
this
-
required
Sets the value ofCfnAgent.ParameterDetailProperty.getRequired()- Parameters:
required- Whether the parameter is required for the agent to complete the function for action group invocation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgent.ParameterDetailProperty>- Returns:
- a new instance of
CfnAgent.ParameterDetailProperty - Throws:
NullPointerException- if any required attribute was not provided
-