Class Threshold
- java.lang.Object
-
- software.amazon.awssdk.services.databrew.model.Threshold
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Threshold.Builder,Threshold>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceThreshold.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Threshold.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Threshold.Builder>serializableBuilderClass()Threshold.BuildertoBuilder()StringtoString()Returns a string representation of this object.ThresholdTypetype()The type of a threshold.StringtypeAsString()The type of a threshold.ThresholdUnitunit()Unit of threshold value.StringunitAsString()Unit of threshold value.Doublevalue()The value of a threshold.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
value
public final Double value()
The value of a threshold.
- Returns:
- The value of a threshold.
-
type
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,
typewill returnThresholdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- See Also:
ThresholdType
-
typeAsString
public 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,
typewill returnThresholdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- See Also:
ThresholdType
-
unit
public 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,
unitwill returnThresholdUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- See Also:
ThresholdUnit
-
unitAsString
public 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,
unitwill returnThresholdUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- See Also:
ThresholdUnit
-
toBuilder
public Threshold.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Threshold.Builder,Threshold>
-
builder
public static Threshold.Builder builder()
-
serializableBuilderClass
public static Class<? extends Threshold.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-