@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StringCondition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StringCondition.Builder |
builder() |
StringComparisonType |
comparisonType()
The type of comparison to be made when evaluating the string condition.
|
String |
comparisonTypeAsString()
The type of comparison to be made when evaluating the string condition.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fieldName()
The name of the field in the string condition.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StringCondition.Builder> |
serializableBuilderClass() |
StringCondition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the string.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fieldName()
The name of the field in the string condition.
public final String value()
The value of the string.
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, comparisonType
will return StringComparisonType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from comparisonTypeAsString().
StringComparisonTypepublic 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, comparisonType
will return StringComparisonType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from comparisonTypeAsString().
StringComparisonTypepublic StringCondition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StringCondition.Builder,StringCondition>public static StringCondition.Builder builder()
public static Class<? extends StringCondition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.