@Generated(value="software.amazon.awssdk:codegen") public final class NestedFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NestedFilters.Builder,NestedFilters>
Defines a list of NestedFilters objects. To satisfy the conditions specified in the
NestedFilters call, a resource must satisfy the conditions of all of the filters.
For example, you could define a NestedFilters using the training job's InputDataConfig
property to filter on Channel objects.
A NestedFilters object contains multiple filters. For example, to find all training jobs whose name
contains train and that have cat/data in their S3Uri (specified in
InputDataConfig), you need to create a NestedFilters object that specifies the
InputDataConfig property with the following Filter objects:
'{Name:"InputDataConfig.ChannelName", "Operator":"EQUALS", "Value":"train"}',
'{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"CONTAINS", "Value":"cat/data"}'
| 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) |
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 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 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.
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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.