public static interface CfnRuleset.ThresholdProperty
The non-aggregate check expression will be applied to each row in a specific column. Then the threshold will be used to determine whether the validation succeeds.
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.*; ThresholdProperty thresholdProperty = ThresholdProperty.builder() .value(123) // the properties below are optional .type("type") .unit("unit") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRuleset.ThresholdProperty.Builder
A builder for
CfnRuleset.ThresholdProperty |
static class |
CfnRuleset.ThresholdProperty.Jsii$Proxy
An implementation for
CfnRuleset.ThresholdProperty |
Modifier and Type | Method and Description |
---|---|
static CfnRuleset.ThresholdProperty.Builder |
builder() |
default java.lang.String |
getType()
The type of a threshold.
|
default java.lang.String |
getUnit()
Unit of threshold value.
|
java.lang.Number |
getValue()
The value of a threshold.
|
java.lang.Number getValue()
default java.lang.String getType()
Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
default java.lang.String getUnit()
Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
static CfnRuleset.ThresholdProperty.Builder builder()