Class Threshold
- java.lang.Object
-
- software.amazon.awssdk.services.connect.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>
Contains information about the threshold for service level metrics.
- 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()Comparisoncomparison()The type of comparison.StringcomparisonAsString()The type of comparison.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()DoublethresholdValue()The threshold value to compare.Threshold.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
-
comparison
public final Comparison comparison()
The type of comparison. Only "less than" (LT) comparisons are supported.
If the service returns an enum value that is not available in the current SDK version,
comparisonwill returnComparison.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomparisonAsString().- Returns:
- The type of comparison. Only "less than" (LT) comparisons are supported.
- See Also:
Comparison
-
comparisonAsString
public final String comparisonAsString()
The type of comparison. Only "less than" (LT) comparisons are supported.
If the service returns an enum value that is not available in the current SDK version,
comparisonwill returnComparison.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomparisonAsString().- Returns:
- The type of comparison. Only "less than" (LT) comparisons are supported.
- See Also:
Comparison
-
thresholdValue
public final Double thresholdValue()
The threshold value to compare.
- Returns:
- The threshold value to compare.
-
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.
-
-