@Generated(value="software.amazon.awssdk:codegen") public final class Threshold extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Threshold.Builder,Threshold>
The threshold used with a non-aggregate check expression. 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Threshold.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Threshold.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Threshold.Builder> |
serializableBuilderClass() |
Threshold.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ThresholdType |
type()
The type of a threshold.
|
String |
typeAsString()
The type of a threshold.
|
ThresholdUnit |
unit()
Unit of threshold value.
|
String |
unitAsString()
Unit of threshold value.
|
Double |
value()
The value of a threshold.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double value()
The value of a threshold.
public final ThresholdType type()
The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
If the service returns an enum value that is not available in the current SDK version, type will return
ThresholdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ThresholdTypepublic final String typeAsString()
The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
If the service returns an enum value that is not available in the current SDK version, type will return
ThresholdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ThresholdTypepublic final ThresholdUnit unit()
Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
If the service returns an enum value that is not available in the current SDK version, unit will return
ThresholdUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
ThresholdUnitpublic final String unitAsString()
Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
If the service returns an enum value that is not available in the current SDK version, unit will return
ThresholdUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
ThresholdUnitpublic Threshold.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Threshold.Builder,Threshold>public static Threshold.Builder builder()
public static Class<? extends Threshold.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.