Class PropertyFilters
- java.lang.Object
-
- software.amazon.awssdk.services.sagemakergeospatial.model.PropertyFilters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PropertyFilters.Builder,PropertyFilters>
@Generated("software.amazon.awssdk:codegen") public final class PropertyFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyFilters.Builder,PropertyFilters>
A list of PropertyFilter objects.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePropertyFilters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyFilters.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasProperties()For responses, this returns true if the service returned a value for the Properties property.LogicalOperatorlogicalOperator()The Logical Operator used to combine the Property Filters.StringlogicalOperatorAsString()The Logical Operator used to combine the Property Filters.List<PropertyFilter>properties()A list of Property Filters.List<SdkField<?>>sdkFields()static Class<? extends PropertyFilters.Builder>serializableBuilderClass()PropertyFilters.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
logicalOperator
public final LogicalOperator logicalOperator()
The Logical Operator used to combine the Property Filters.
If the service returns an enum value that is not available in the current SDK version,
logicalOperatorwill returnLogicalOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogicalOperatorAsString().- Returns:
- The Logical Operator used to combine the Property Filters.
- See Also:
LogicalOperator
-
logicalOperatorAsString
public final String logicalOperatorAsString()
The Logical Operator used to combine the Property Filters.
If the service returns an enum value that is not available in the current SDK version,
logicalOperatorwill returnLogicalOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogicalOperatorAsString().- Returns:
- The Logical Operator used to combine the Property Filters.
- See Also:
LogicalOperator
-
hasProperties
public final boolean hasProperties()
For responses, this returns true if the service returned a value for the Properties property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
properties
public final List<PropertyFilter> properties()
A list of Property Filters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasProperties()method.- Returns:
- A list of Property Filters.
-
toBuilder
public PropertyFilters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PropertyFilters.Builder,PropertyFilters>
-
builder
public static PropertyFilters.Builder builder()
-
serializableBuilderClass
public static Class<? extends PropertyFilters.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.
-
-