Interface ParameterDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParameterDetail.Builder,ParameterDetail>,SdkBuilder<ParameterDetail.Builder,ParameterDetail>,SdkPojo
- Enclosing class:
- ParameterDetail
@Mutable @NotThreadSafe public static interface ParameterDetail.Builder extends SdkPojo, CopyableBuilder<ParameterDetail.Builder,ParameterDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterDetail.Builderdescription(String description)A description of the parameter.ParameterDetail.Builderrequired(Boolean required)Whether the parameter is required for the agent to complete the function for action group invocation.ParameterDetail.Buildertype(String type)The data type of the parameter.ParameterDetail.Buildertype(ParameterType type)The data type of the parameter.-
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
-
-
-
-
Method Detail
-
description
ParameterDetail.Builder description(String description)
A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
- Parameters:
description- A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
ParameterDetail.Builder required(Boolean required)
Whether the parameter is required for the agent to complete the function for action group invocation.
- Parameters:
required- Whether the parameter is required for the agent to complete the function for action group invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ParameterDetail.Builder type(String type)
The data type of the parameter.
- Parameters:
type- The data type of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
type
ParameterDetail.Builder type(ParameterType type)
The data type of the parameter.
- Parameters:
type- The data type of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
-