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