Class AutomatedReasoningPolicyAddVariableAnnotation
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.AutomatedReasoningPolicyAddVariableAnnotation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedReasoningPolicyAddVariableAnnotation.Builder,AutomatedReasoningPolicyAddVariableAnnotation>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedReasoningPolicyAddVariableAnnotation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedReasoningPolicyAddVariableAnnotation.Builder,AutomatedReasoningPolicyAddVariableAnnotation>
An annotation for adding a new variable to an Automated Reasoning policy, which can be used in rule expressions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedReasoningPolicyAddVariableAnnotation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomatedReasoningPolicyAddVariableAnnotation.Builderbuilder()Stringdescription()A description of what the variable represents and how it should be used in rules.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the new variable.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutomatedReasoningPolicyAddVariableAnnotation.Builder>serializableBuilderClass()AutomatedReasoningPolicyAddVariableAnnotation.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.-
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 new variable. This name will be used to reference the variable in rule expressions.
- Returns:
- The name of the new variable. This name will be used to reference the variable in rule expressions.
-
type
public final String type()
The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.
- Returns:
- The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.
-
description
public final String description()
A description of what the variable represents and how it should be used in rules.
- Returns:
- A description of what the variable represents and how it should be used in rules.
-
toBuilder
public AutomatedReasoningPolicyAddVariableAnnotation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedReasoningPolicyAddVariableAnnotation.Builder,AutomatedReasoningPolicyAddVariableAnnotation>
-
builder
public static AutomatedReasoningPolicyAddVariableAnnotation.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedReasoningPolicyAddVariableAnnotation.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
-
-