Interface CfnRulesetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRulesetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.134Z")
@Stability(Stable)
public interface CfnRulesetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRuleset.
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.databrew.*;
CfnRulesetProps cfnRulesetProps = CfnRulesetProps.builder()
.name("name")
.rules(List.of(RuleProperty.builder()
.checkExpression("checkExpression")
.name("name")
// the properties below are optional
.columnSelectors(List.of(ColumnSelectorProperty.builder()
.name("name")
.regex("regex")
.build()))
.disabled(false)
.substitutionMap(List.of(SubstitutionValueProperty.builder()
.value("value")
.valueReference("valueReference")
.build()))
.threshold(ThresholdProperty.builder()
.value(123)
// the properties below are optional
.type("type")
.unit("unit")
.build())
.build()))
.targetArn("targetArn")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRulesetPropsstatic final classAn implementation forCfnRulesetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRulesetProps.Builderbuilder()default StringThe description of the ruleset.getName()The name of the ruleset.getRules()Contains metadata about the ruleset.getTags()An array of key-value pairs to apply to this resource.The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the ruleset. -
getRules
Contains metadata about the ruleset. -
getTargetArn
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with. -
getDescription
The description of the ruleset. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnRulesetProps.BuilderofCfnRulesetProps
-