@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaseFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter for cases. Only one value can be provided.
Constructor and Description |
---|
CaseFilter() |
Modifier and Type | Method and Description |
---|---|
CaseFilter |
clone() |
boolean |
equals(Object obj) |
List<CaseFilter> |
getAndAll()
Provides "and all" filtering.
|
FieldFilter |
getField()
A list of fields to filter on.
|
CaseFilter |
getNot() |
List<CaseFilter> |
getOrAll()
Provides "or all" filtering.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndAll(Collection<CaseFilter> andAll)
Provides "and all" filtering.
|
void |
setField(FieldFilter field)
A list of fields to filter on.
|
void |
setNot(CaseFilter not) |
void |
setOrAll(Collection<CaseFilter> orAll)
Provides "or all" filtering.
|
String |
toString()
Returns a string representation of this object.
|
CaseFilter |
withAndAll(CaseFilter... andAll)
Provides "and all" filtering.
|
CaseFilter |
withAndAll(Collection<CaseFilter> andAll)
Provides "and all" filtering.
|
CaseFilter |
withField(FieldFilter field)
A list of fields to filter on.
|
CaseFilter |
withNot(CaseFilter not) |
CaseFilter |
withOrAll(CaseFilter... orAll)
Provides "or all" filtering.
|
CaseFilter |
withOrAll(Collection<CaseFilter> orAll)
Provides "or all" filtering.
|
public List<CaseFilter> getAndAll()
Provides "and all" filtering.
public void setAndAll(Collection<CaseFilter> andAll)
Provides "and all" filtering.
andAll
- Provides "and all" filtering.public CaseFilter withAndAll(CaseFilter... andAll)
Provides "and all" filtering.
NOTE: This method appends the values to the existing list (if any). Use
setAndAll(java.util.Collection)
or withAndAll(java.util.Collection)
if you want to override the
existing values.
andAll
- Provides "and all" filtering.public CaseFilter withAndAll(Collection<CaseFilter> andAll)
Provides "and all" filtering.
andAll
- Provides "and all" filtering.public void setField(FieldFilter field)
A list of fields to filter on.
field
- A list of fields to filter on.public FieldFilter getField()
A list of fields to filter on.
public CaseFilter withField(FieldFilter field)
A list of fields to filter on.
field
- A list of fields to filter on.public void setNot(CaseFilter not)
not
- public CaseFilter getNot()
public CaseFilter withNot(CaseFilter not)
not
- public List<CaseFilter> getOrAll()
Provides "or all" filtering.
public void setOrAll(Collection<CaseFilter> orAll)
Provides "or all" filtering.
orAll
- Provides "or all" filtering.public CaseFilter withOrAll(CaseFilter... orAll)
Provides "or all" filtering.
NOTE: This method appends the values to the existing list (if any). Use
setOrAll(java.util.Collection)
or withOrAll(java.util.Collection)
if you want to override the
existing values.
orAll
- Provides "or all" filtering.public CaseFilter withOrAll(Collection<CaseFilter> orAll)
Provides "or all" filtering.
orAll
- Provides "or all" filtering.public String toString()
toString
in class Object
Object.toString()
public CaseFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.