Class NumberCondition
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.NumberCondition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NumberCondition.Builder,NumberCondition>
@Generated("software.amazon.awssdk:codegen") public final class NumberCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NumberCondition.Builder,NumberCondition>
A leaf node condition which can be used to specify a numeric condition.
The currently supported value for
FieldNameislimit.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNumberCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumberCondition.Builderbuilder()NumberComparisonTypecomparisonType()The type of comparison to be made when evaluating the number condition.StringcomparisonTypeAsString()The type of comparison to be made when evaluating the number condition.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfieldName()The name of the field in the number condition.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxValue()The maxValue to be used while evaluating the number condition.IntegerminValue()The minValue to be used while evaluating the number condition.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NumberCondition.Builder>serializableBuilderClass()NumberCondition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
fieldName
public final String fieldName()
The name of the field in the number condition.
- Returns:
- The name of the field in the number condition.
-
minValue
public final Integer minValue()
The minValue to be used while evaluating the number condition.
- Returns:
- The minValue to be used while evaluating the number condition.
-
maxValue
public final Integer maxValue()
The maxValue to be used while evaluating the number condition.
- Returns:
- The maxValue to be used while evaluating the number condition.
-
comparisonType
public final NumberComparisonType comparisonType()
The type of comparison to be made when evaluating the number condition.
If the service returns an enum value that is not available in the current SDK version,
comparisonTypewill returnNumberComparisonType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomparisonTypeAsString().- Returns:
- The type of comparison to be made when evaluating the number condition.
- See Also:
NumberComparisonType
-
comparisonTypeAsString
public final String comparisonTypeAsString()
The type of comparison to be made when evaluating the number condition.
If the service returns an enum value that is not available in the current SDK version,
comparisonTypewill returnNumberComparisonType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomparisonTypeAsString().- Returns:
- The type of comparison to be made when evaluating the number condition.
- See Also:
NumberComparisonType
-
toBuilder
public NumberCondition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NumberCondition.Builder,NumberCondition>
-
builder
public static NumberCondition.Builder builder()
-
serializableBuilderClass
public static Class<? extends NumberCondition.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-