Class ParameterDetail
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.ParameterDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ParameterDetail.Builder,ParameterDetail>
@Generated("software.amazon.awssdk:codegen") public final class ParameterDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParameterDetail.Builder,ParameterDetail>
Contains details about a parameter in a function for an action group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceParameterDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParameterDetail.Builderbuilder()Stringdescription()A description of the parameter.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanrequired()Whether the parameter is required for the agent to complete the function for action group invocation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ParameterDetail.Builder>serializableBuilderClass()ParameterDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.ParameterTypetype()The data type of the parameter.StringtypeAsString()The data type of the parameter.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
description
public final String description()
A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
- Returns:
- A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
-
required
public final Boolean required()
Whether the parameter is required for the agent to complete the function for action group invocation.
- Returns:
- Whether the parameter is required for the agent to complete the function for action group invocation.
-
type
public final ParameterType type()
The data type of the parameter.
If the service returns an enum value that is not available in the current SDK version,
typewill returnParameterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The data type of the parameter.
- See Also:
ParameterType
-
typeAsString
public final String typeAsString()
The data type of the parameter.
If the service returns an enum value that is not available in the current SDK version,
typewill returnParameterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The data type of the parameter.
- See Also:
ParameterType
-
toBuilder
public ParameterDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ParameterDetail.Builder,ParameterDetail>
-
builder
public static ParameterDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ParameterDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-