@Generated(value="software.amazon.awssdk:codegen") public final class NestedFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NestedFilters.Builder,NestedFilters>
A list of nested Filter objects. A resource must satisfy the conditions of all filters to be included in the results returned from the Search API.
For example, to filter on a training job's InputDataConfig property with a specific channel name and
S3Uri prefix, define the following filters:
'{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',
'{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains", "Value":"mybucket/catdata"}'
| Modifier and Type | Class and Description |
|---|---|
static interface |
NestedFilters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NestedFilters.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
A list of filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
nestedPropertyName()
The name of the property to use in the nested filters.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NestedFilters.Builder> |
serializableBuilderClass() |
NestedFilters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nestedPropertyName()
The name of the property to use in the nested filters. The value must match a listed property name, such as
InputDataConfig.
InputDataConfig.public final boolean hasFilters()
public final List<Filter> filters()
A list of filters. Each filter acts on a property. Filters must contain at least one Filters value.
For example, a NestedFilters call might include a filter on the PropertyName parameter
of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
Filters
value. For example, a NestedFilters call might include a filter on the
PropertyName parameter of the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.public NestedFilters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NestedFilters.Builder,NestedFilters>public static NestedFilters.Builder builder()
public static Class<? extends NestedFilters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.