@Stability(value=Stable) public static final class CfnRuleset.ThresholdProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleset.ThresholdProperty>
CfnRuleset.ThresholdProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleset.ThresholdProperty |
build()
Builds the configured instance.
|
CfnRuleset.ThresholdProperty.Builder |
type(String type)
Sets the value of
CfnRuleset.ThresholdProperty.getType() |
CfnRuleset.ThresholdProperty.Builder |
unit(String unit)
Sets the value of
CfnRuleset.ThresholdProperty.getUnit() |
CfnRuleset.ThresholdProperty.Builder |
value(Number value)
Sets the value of
CfnRuleset.ThresholdProperty.getValue() |
@Stability(value=Stable) public CfnRuleset.ThresholdProperty.Builder value(Number value)
CfnRuleset.ThresholdProperty.getValue()value - The value of a threshold. This parameter is required.this@Stability(value=Stable) public CfnRuleset.ThresholdProperty.Builder type(String type)
CfnRuleset.ThresholdProperty.getType()type - The type of a threshold.
Used for comparison of an actual count of rows that satisfy the rule to the threshold value.this@Stability(value=Stable) public CfnRuleset.ThresholdProperty.Builder unit(String unit)
CfnRuleset.ThresholdProperty.getUnit()unit - Unit of threshold value.
Can be either a COUNT or PERCENTAGE of the full sample size used for validation.this@Stability(value=Stable) public CfnRuleset.ThresholdProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleset.ThresholdProperty>CfnRuleset.ThresholdPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.