@Stability(value=Stable)
public static interface CfnRuleset.ThresholdProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getType()
The type of a threshold.
|
default String |
getUnit()
Unit of threshold value.
|
Number |
getValue()
The value of a threshold.
|
@Stability(value=Stable) @NotNull Number getValue()
@Stability(value=Stable) @Nullable default String getType()
Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
@Stability(value=Stable) @Nullable default String getUnit()
Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
@Stability(value=Stable) static CfnRuleset.ThresholdProperty.Builder builder()
Copyright © 2022. All rights reserved.