Class StringCondition
- java.lang.Object
-
- software.amazon.awssdk.services.backupsearch.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>
This contains the value of the string and can contain one or more operators.
- 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()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringConditionOperatoroperator()A string that defines what values will be returned.StringoperatorAsString()A string that defines what values will be returned.Map<String,SdkField<?>>sdkFieldNameToField()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
-
value
public final String value()
The value of the string.
- Returns:
- The value of the string.
-
operator
public final StringConditionOperator operator()
A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values.If the service returns an enum value that is not available in the current SDK version,
operatorwill returnStringConditionOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values. - See Also:
StringConditionOperator
-
operatorAsString
public final String operatorAsString()
A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values.If the service returns an enum value that is not available in the current SDK version,
operatorwill returnStringConditionOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values. - See Also:
StringConditionOperator
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-