@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Identifies the name and value of a source filter object used to limit the number and type of records transferred from your source to your target.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the filter.
|
List<String> |
getValues()
The filter value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the filter.
|
void |
setValues(Collection<String> values)
The filter value.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withName(String name)
The name of the filter.
|
Filter |
withValues(Collection<String> values)
The filter value.
|
Filter |
withValues(String... values)
The filter value.
|
public void setName(String name)
The name of the filter.
name - The name of the filter.public String getName()
The name of the filter.
public Filter withName(String name)
The name of the filter.
name - The name of the filter.public void setValues(Collection<String> values)
The filter value.
values - The filter value.public Filter withValues(String... values)
The filter value.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The filter value.public Filter withValues(Collection<String> values)
The filter value.
values - The filter value.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.