@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NestedFilters extends Object implements Serializable, Cloneable, StructuredPojo
A NestedFilter is defined by using a resource name under NestedPropertyName, which entries
in a list that properties must match to be included in the results. To satisfy the conditions specified in the
NestedFilters call, each object in the list must satisfy the conditions of all of the filters.
For example, a NestedFilters could be defined using the training job's InputDataConfig
property, this would be defined as a list of Channel objects.
A NestedFilters object contains multiple filters. For example, to find all training jobs that have
train in their name, and have cat/data in their S3Uri (under
InputDataConfig), you need to create a NestedFilters object that specfies 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 used 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 used in the nested filters.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 used in the nested filters.
|
public void setNestedPropertyName(String nestedPropertyName)
.The name of the property used in the nested filters.
nestedPropertyName - .The name of the property used in the nested filters.public String getNestedPropertyName()
.The name of the property used in the nested filters.
public NestedFilters withNestedPropertyName(String nestedPropertyName)
.The name of the property used in the nested filters.
nestedPropertyName - .The name of the property used in the nested filters.public List<Filter> getFilters()
A list of filters. Each filter acts on a property. For example, a NestedFilters call might include a
filter on the PropertyName parameter fof the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.
NestedFilters call might
include a filter on the PropertyName parameter fof the InputDataConfig
property: InputDataConfig.DataSource.S3DataSource.S3Uri.public void setFilters(Collection<Filter> filters)
A list of filters. Each filter acts on a property. For example, a NestedFilters call might include a
filter on the PropertyName parameter fof the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.
filters - A list of filters. Each filter acts on a property. For example, a NestedFilters call might
include a filter on the PropertyName parameter fof the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.public NestedFilters withFilters(Filter... filters)
A list of filters. Each filter acts on a property. For example, a NestedFilters call might include a
filter on the PropertyName parameter fof 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. For example, a NestedFilters call might
include a filter on the PropertyName parameter fof the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.public NestedFilters withFilters(Collection<Filter> filters)
A list of filters. Each filter acts on a property. For example, a NestedFilters call might include a
filter on the PropertyName parameter fof the InputDataConfig property:
InputDataConfig.DataSource.S3DataSource.S3Uri.
filters - A list of filters. Each filter acts on a property. For example, a NestedFilters call might
include a filter on the PropertyName parameter fof 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 © 2018. All rights reserved.