@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A filter used to limit results when describing inbound or outbound cross-cluster search connections. Multiple values can be specified per filter. A cross-cluster search connection must match at least one of the specified values for it to be returned from an operation.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Specifies the name of the filter.
|
List<String> |
getValues()
Contains one or more values for the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
Specifies the name of the filter.
|
void |
setValues(Collection<String> values)
Contains one or more values for the filter.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withName(String name)
Specifies the name of the filter.
|
Filter |
withValues(Collection<String> values)
Contains one or more values for the filter.
|
Filter |
withValues(String... values)
Contains one or more values for the filter.
|
public void setName(String name)
Specifies the name of the filter.
name - Specifies the name of the filter.public String getName()
Specifies the name of the filter.
public Filter withName(String name)
Specifies the name of the filter.
name - Specifies the name of the filter.public List<String> getValues()
Contains one or more values for the filter.
public void setValues(Collection<String> values)
Contains one or more values for the filter.
values - Contains one or more values for the filter.public Filter withValues(String... values)
Contains one or more values for the filter.
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 - Contains one or more values for the filter.public Filter withValues(Collection<String> values)
Contains one or more values for the filter.
values - Contains one or more values for the filter.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.