Class PropertyPredicate
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.PropertyPredicate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PropertyPredicate.Builder,PropertyPredicate>
@Generated("software.amazon.awssdk:codegen") public final class PropertyPredicate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyPredicate.Builder,PropertyPredicate>
Defines a property predicate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePropertyPredicate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyPredicate.Builderbuilder()Comparatorcomparator()The comparator used to compare this property to others.StringcomparatorAsString()The comparator used to compare this property to others.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The key of the property.List<SdkField<?>>sdkFields()static Class<? extends PropertyPredicate.Builder>serializableBuilderClass()PropertyPredicate.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the property.-
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
-
key
public final String key()
The key of the property.
- Returns:
- The key of the property.
-
value
public final String value()
The value of the property.
- Returns:
- The value of the property.
-
comparator
public final Comparator comparator()
The comparator used to compare this property to others.
If the service returns an enum value that is not available in the current SDK version,
comparatorwill returnComparator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomparatorAsString().- Returns:
- The comparator used to compare this property to others.
- See Also:
Comparator
-
comparatorAsString
public final String comparatorAsString()
The comparator used to compare this property to others.
If the service returns an enum value that is not available in the current SDK version,
comparatorwill returnComparator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomparatorAsString().- Returns:
- The comparator used to compare this property to others.
- See Also:
Comparator
-
toBuilder
public PropertyPredicate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PropertyPredicate.Builder,PropertyPredicate>
-
builder
public static PropertyPredicate.Builder builder()
-
serializableBuilderClass
public static Class<? extends PropertyPredicate.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.
-
-