Class LongCondition
- java.lang.Object
-
- software.amazon.awssdk.services.backupsearch.model.LongCondition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LongCondition.Builder,LongCondition>
@Generated("software.amazon.awssdk:codegen") public final class LongCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LongCondition.Builder,LongCondition>
The long condition contains a
Valueand can optionally contain anOperator.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLongCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LongCondition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongConditionOperatoroperator()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 LongCondition.Builder>serializableBuilderClass()LongCondition.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longvalue()The value of an item included in one of the search item filters.-
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 Long value()
The value of an item included in one of the search item filters.
- Returns:
- The value of an item included in one of the search item filters.
-
operator
public final LongConditionOperator 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 returnLongConditionOperator.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:
LongConditionOperator
-
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 returnLongConditionOperator.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:
LongConditionOperator
-
toBuilder
public LongCondition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LongCondition.Builder,LongCondition>
-
builder
public static LongCondition.Builder builder()
-
serializableBuilderClass
public static Class<? extends LongCondition.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
-
-