Interface CfnDetector.RuleProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnDetector.RuleProperty extends
A rule.

Rule is a condition that tells Amazon Fraud Detector how to interpret variables values during a fraud prediction.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RuleProperty ruleProperty = RuleProperty.builder()
  • Method Details

    • getArn

      @Stability(Stable) @Nullable default String getArn()
      The rule ARN.
    • getCreatedTime

      @Stability(Stable) @Nullable default String getCreatedTime()
      Timestamp for when the rule was created.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The rule description.
    • getDetectorId

      @Stability(Stable) @Nullable default String getDetectorId()
      The detector for which the rule is associated.
    • getExpression

      @Stability(Stable) @Nullable default String getExpression()
      The rule expression.

      A rule expression captures the business logic. For more information, see Rule language reference .

    • getLanguage

      @Stability(Stable) @Nullable default String getLanguage()
      The rule language.
    • getLastUpdatedTime

      @Stability(Stable) @Nullable default String getLastUpdatedTime()
      Timestamp for when the rule was last updated.
    • getOutcomes

      @Stability(Stable) @Nullable default Object getOutcomes()
      The rule outcome.
    • getRuleId

      @Stability(Stable) @Nullable default String getRuleId()
      The rule ID.
    • getRuleVersion

      @Stability(Stable) @Nullable default String getRuleVersion()
      The rule version.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnDetector.RuleProperty.Builder builder()
      a CfnDetector.RuleProperty.Builder of CfnDetector.RuleProperty