@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that filters an entity search. Multiple filters function as OR criteria in the search. For example a search
that includes a NAMESPACE
and a REFERENCED_ENTITY_ID
filter searches for entities in the
specified namespace that use the entity specified by the value of REFERENCED_ENTITY_ID
.
Constructor and Description |
---|
EntityFilter() |
Modifier and Type | Method and Description |
---|---|
EntityFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the entity search filter field.
|
List<String> |
getValue()
An array of string values for the search filter field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the entity search filter field.
|
void |
setValue(Collection<String> value)
An array of string values for the search filter field.
|
String |
toString()
Returns a string representation of this object.
|
EntityFilter |
withName(EntityFilterName name)
The name of the entity search filter field.
|
EntityFilter |
withName(String name)
The name of the entity search filter field.
|
EntityFilter |
withValue(Collection<String> value)
An array of string values for the search filter field.
|
EntityFilter |
withValue(String... value)
An array of string values for the search filter field.
|
public void setName(String name)
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used
by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
name
- The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are
used by the entity in the result set. For example, you can filter on the ID of a property that is used in
a state.EntityFilterName
public String getName()
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used
by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
REFERENCED_ENTITY_ID
filters on entities that
are used by the entity in the result set. For example, you can filter on the ID of a property that is
used in a state.EntityFilterName
public EntityFilter withName(String name)
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used
by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
name
- The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are
used by the entity in the result set. For example, you can filter on the ID of a property that is used in
a state.EntityFilterName
public EntityFilter withName(EntityFilterName name)
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used
by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
name
- The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are
used by the entity in the result set. For example, you can filter on the ID of a property that is used in
a state.EntityFilterName
public List<String> getValue()
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
public void setValue(Collection<String> value)
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
value
- An array of string values for the search filter field. Multiple values function as AND criteria in the
search.public EntityFilter withValue(String... value)
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
NOTE: This method appends the values to the existing list (if any). Use
setValue(java.util.Collection)
or withValue(java.util.Collection)
if you want to override the
existing values.
value
- An array of string values for the search filter field. Multiple values function as AND criteria in the
search.public EntityFilter withValue(Collection<String> value)
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
value
- An array of string values for the search filter field. Multiple values function as AND criteria in the
search.public String toString()
toString
in class Object
Object.toString()
public EntityFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.