Class MemoryMetadataFilterExpression
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MemoryMetadataFilterExpression.Builder,MemoryMetadataFilterExpression>
Filters to apply to metadata associated with a memory. Specify the metadata key and value in the left
and right fields and use the operator field to define the relationship to match.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()left()The metadata key to evaluate.final MemoryRecordOperatorTypeoperator()The relationship between the metadata key and value to match when applying the metadata filter.final StringThe relationship between the metadata key and value to match when applying the metadata filter.right()The value to compare against.static Class<? extends MemoryMetadataFilterExpression.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
left
The metadata key to evaluate.
- Returns:
- The metadata key to evaluate.
-
operator
The relationship between the metadata key and value to match when applying the metadata filter.
If the service returns an enum value that is not available in the current SDK version,
operatorwill returnMemoryRecordOperatorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- The relationship between the metadata key and value to match when applying the metadata filter.
- See Also:
-
operatorAsString
The relationship between the metadata key and value to match when applying the metadata filter.
If the service returns an enum value that is not available in the current SDK version,
operatorwill returnMemoryRecordOperatorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- The relationship between the metadata key and value to match when applying the metadata filter.
- See Also:
-
right
The value to compare against. Required for all operators except EXISTS and NOT_EXISTS.
- Returns:
- The value to compare against. Required for all operators except EXISTS and NOT_EXISTS.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MemoryMetadataFilterExpression.Builder,MemoryMetadataFilterExpression>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-