@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArchiveFilters extends Object implements Serializable, Cloneable, StructuredPojo
A set of filter conditions to include and/or exclude emails.
Constructor and Description |
---|
ArchiveFilters() |
Modifier and Type | Method and Description |
---|---|
ArchiveFilters |
clone() |
boolean |
equals(Object obj) |
List<ArchiveFilterCondition> |
getInclude()
The filter conditions for emails to include.
|
List<ArchiveFilterCondition> |
getUnless()
The filter conditions for emails to exclude.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInclude(Collection<ArchiveFilterCondition> include)
The filter conditions for emails to include.
|
void |
setUnless(Collection<ArchiveFilterCondition> unless)
The filter conditions for emails to exclude.
|
String |
toString()
Returns a string representation of this object.
|
ArchiveFilters |
withInclude(ArchiveFilterCondition... include)
The filter conditions for emails to include.
|
ArchiveFilters |
withInclude(Collection<ArchiveFilterCondition> include)
The filter conditions for emails to include.
|
ArchiveFilters |
withUnless(ArchiveFilterCondition... unless)
The filter conditions for emails to exclude.
|
ArchiveFilters |
withUnless(Collection<ArchiveFilterCondition> unless)
The filter conditions for emails to exclude.
|
public List<ArchiveFilterCondition> getInclude()
The filter conditions for emails to include.
public void setInclude(Collection<ArchiveFilterCondition> include)
The filter conditions for emails to include.
include
- The filter conditions for emails to include.public ArchiveFilters withInclude(ArchiveFilterCondition... include)
The filter conditions for emails to include.
NOTE: This method appends the values to the existing list (if any). Use
setInclude(java.util.Collection)
or withInclude(java.util.Collection)
if you want to override
the existing values.
include
- The filter conditions for emails to include.public ArchiveFilters withInclude(Collection<ArchiveFilterCondition> include)
The filter conditions for emails to include.
include
- The filter conditions for emails to include.public List<ArchiveFilterCondition> getUnless()
The filter conditions for emails to exclude.
public void setUnless(Collection<ArchiveFilterCondition> unless)
The filter conditions for emails to exclude.
unless
- The filter conditions for emails to exclude.public ArchiveFilters withUnless(ArchiveFilterCondition... unless)
The filter conditions for emails to exclude.
NOTE: This method appends the values to the existing list (if any). Use
setUnless(java.util.Collection)
or withUnless(java.util.Collection)
if you want to override the
existing values.
unless
- The filter conditions for emails to exclude.public ArchiveFilters withUnless(Collection<ArchiveFilterCondition> unless)
The filter conditions for emails to exclude.
unless
- The filter conditions for emails to exclude.public String toString()
toString
in class Object
Object.toString()
public ArchiveFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.