@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NestedFilters extends Object implements Serializable, Cloneable, StructuredPojo
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"}'
| Constructor and Description |
|---|
NestedFilters() |
| Modifier and Type | Method and Description |
|---|---|
NestedFilters |
clone() |
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
A list of filters.
|
String |
getNestedPropertyName()
The name of the property to use in the nested filters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFilters(Collection<Filter> filters)
A list of filters.
|
void |
setNestedPropertyName(String nestedPropertyName)
The name of the property to use in the nested filters.
|
String |
toString()
Returns a string representation of this object.
|
NestedFilters |
withFilters(Collection<Filter> filters)
A list of filters.
|
NestedFilters |
withFilters(Filter... filters)
A list of filters.
|
NestedFilters |
withNestedPropertyName(String nestedPropertyName)
The name of the property to use in the nested filters.
|
public void setNestedPropertyName(String nestedPropertyName)
The name of the property to use in the nested filters. The value must match a listed property name, such as
InputDataConfig.
nestedPropertyName - The name of the property to use in the nested filters. The value must match a listed property name, such
as InputDataConfig.public String getNestedPropertyName()
The name of the property to use in the nested filters. The value must match a listed property name, such as
InputDataConfig.
InputDataConfig.public NestedFilters withNestedPropertyName(String nestedPropertyName)
The name of the property to use in the nested filters. The value must match a listed property name, such as
InputDataConfig.
nestedPropertyName - The name of the property to use in the nested filters. The value must match a listed property name, such
as InputDataConfig.public List<Filter> getFilters()
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.
Filters
value. For example, a NestedFilters call might include a filter on the
PropertyName parameter of the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.public void setFilters(Collection<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.
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.public NestedFilters withFilters(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.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
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.public NestedFilters withFilters(Collection<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.
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.public String toString()
toString in class ObjectObject.toString()public NestedFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.