@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NestedFilters extends Object implements Serializable, Cloneable, StructuredPojo
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"}'
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)
Marshalls this structured data using the given
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 Object
Object.toString()
public NestedFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.