@Stability(value=Stable)
public static interface CfnDetector.RuleProperty
extends software.amazon.jsii.JsiiSerializable
Rule is a condition that tells Amazon Fraud Detector how to interpret variables values during a fraud prediction.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.frauddetector.*;
RuleProperty ruleProperty = RuleProperty.builder()
.arn("arn")
.createdTime("createdTime")
.description("description")
.detectorId("detectorId")
.expression("expression")
.language("language")
.lastUpdatedTime("lastUpdatedTime")
.outcomes(List.of(OutcomeProperty.builder()
.arn("arn")
.createdTime("createdTime")
.description("description")
.inline(false)
.lastUpdatedTime("lastUpdatedTime")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.ruleId("ruleId")
.ruleVersion("ruleVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDetector.RuleProperty.Builder
A builder for
CfnDetector.RuleProperty |
static class |
CfnDetector.RuleProperty.Jsii$Proxy
An implementation for
CfnDetector.RuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDetector.RuleProperty.Builder |
builder() |
default String |
getArn()
The rule ARN.
|
default String |
getCreatedTime()
Timestamp for when the rule was created.
|
default String |
getDescription()
The rule description.
|
default String |
getDetectorId()
The detector for which the rule is associated.
|
default String |
getExpression()
The rule expression.
|
default String |
getLanguage()
The rule language.
|
default String |
getLastUpdatedTime()
Timestamp for when the rule was last updated.
|
default Object |
getOutcomes()
The rule outcome.
|
default String |
getRuleId()
The rule ID.
|
default String |
getRuleVersion()
The rule version.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) @Nullable default String getArn()
@Stability(value=Stable) @Nullable default String getCreatedTime()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getDetectorId()
@Stability(value=Stable) @Nullable default String getExpression()
A rule expression captures the business logic. For more information, see Rule language reference .
@Stability(value=Stable) @Nullable default String getLanguage()
@Stability(value=Stable) @Nullable default String getLastUpdatedTime()
@Stability(value=Stable) @Nullable default Object getOutcomes()
@Stability(value=Stable) @Nullable default String getRuleId()
@Stability(value=Stable) @Nullable default String getRuleVersion()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnDetector.RuleProperty.Builder builder()
CfnDetector.RuleProperty.Builder of CfnDetector.RulePropertyCopyright © 2022. All rights reserved.