Class AutomatedReasoningPolicyDefinitionVariable
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.AutomatedReasoningPolicyDefinitionVariable
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedReasoningPolicyDefinitionVariable.Builder,AutomatedReasoningPolicyDefinitionVariable>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedReasoningPolicyDefinitionVariable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedReasoningPolicyDefinitionVariable.Builder,AutomatedReasoningPolicyDefinitionVariable>
Represents a variable in an Automated Reasoning policy. Variables represent concepts that can have values assigned during natural language translation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedReasoningPolicyDefinitionVariable.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomatedReasoningPolicyDefinitionVariable.Builderbuilder()Stringdescription()The description of the variable that explains what it represents and how users might refer to it.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the variable.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutomatedReasoningPolicyDefinitionVariable.Builder>serializableBuilderClass()AutomatedReasoningPolicyDefinitionVariable.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The data type of the variable.-
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
-
name
public final String name()
The name of the variable. Use descriptive names that clearly indicate the concept being represented.
- Returns:
- The name of the variable. Use descriptive names that clearly indicate the concept being represented.
-
type
public final String type()
The data type of the variable. Valid types include bool, int, real, enum, and custom types that you can provide.
- Returns:
- The data type of the variable. Valid types include bool, int, real, enum, and custom types that you can provide.
-
description
public final String description()
The description of the variable that explains what it represents and how users might refer to it. Clear and comprehensive descriptions are essential for accurate natural language translation.
- Returns:
- The description of the variable that explains what it represents and how users might refer to it. Clear and comprehensive descriptions are essential for accurate natural language translation.
-
toBuilder
public AutomatedReasoningPolicyDefinitionVariable.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedReasoningPolicyDefinitionVariable.Builder,AutomatedReasoningPolicyDefinitionVariable>
-
builder
public static AutomatedReasoningPolicyDefinitionVariable.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedReasoningPolicyDefinitionVariable.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
-
-