Class AutomatedReasoningPolicyDefinitionRule
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.AutomatedReasoningPolicyDefinitionRule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedReasoningPolicyDefinitionRule.Builder,AutomatedReasoningPolicyDefinitionRule>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedReasoningPolicyDefinitionRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedReasoningPolicyDefinitionRule.Builder,AutomatedReasoningPolicyDefinitionRule>
Represents a formal logic rule in an Automated Reasoning policy. For example, rules can be expressed as if-then statements that define logical constraints.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedReasoningPolicyDefinitionRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalternateExpression()The human-readable form of the rule expression, often in natural language or simplified notation.static AutomatedReasoningPolicyDefinitionRule.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringexpression()The formal logic expression of the rule.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the rule within the policy.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutomatedReasoningPolicyDefinitionRule.Builder>serializableBuilderClass()AutomatedReasoningPolicyDefinitionRule.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
id
public final String id()
The unique identifier of the rule within the policy.
- Returns:
- The unique identifier of the rule within the policy.
-
expression
public final String expression()
The formal logic expression of the rule.
- Returns:
- The formal logic expression of the rule.
-
alternateExpression
public final String alternateExpression()
The human-readable form of the rule expression, often in natural language or simplified notation.
- Returns:
- The human-readable form of the rule expression, often in natural language or simplified notation.
-
toBuilder
public AutomatedReasoningPolicyDefinitionRule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedReasoningPolicyDefinitionRule.Builder,AutomatedReasoningPolicyDefinitionRule>
-
builder
public static AutomatedReasoningPolicyDefinitionRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedReasoningPolicyDefinitionRule.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
-
-