@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PoolFilter extends Object implements Serializable, Cloneable, StructuredPojo
The information for a pool that meets a specified criteria.
| Constructor and Description |
|---|
PoolFilter() |
| Modifier and Type | Method and Description |
|---|---|
PoolFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the attribute to filter on.
|
List<String> |
getValues()
An array values to filter for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the attribute to filter on.
|
void |
setValues(Collection<String> values)
An array values to filter for.
|
String |
toString()
Returns a string representation of this object.
|
PoolFilter |
withName(PoolFilterName name)
The name of the attribute to filter on.
|
PoolFilter |
withName(String name)
The name of the attribute to filter on.
|
PoolFilter |
withValues(Collection<String> values)
An array values to filter for.
|
PoolFilter |
withValues(String... values)
An array values to filter for.
|
public void setName(String name)
The name of the attribute to filter on.
name - The name of the attribute to filter on.PoolFilterNamepublic String getName()
The name of the attribute to filter on.
PoolFilterNamepublic PoolFilter withName(String name)
The name of the attribute to filter on.
name - The name of the attribute to filter on.PoolFilterNamepublic PoolFilter withName(PoolFilterName name)
The name of the attribute to filter on.
name - The name of the attribute to filter on.PoolFilterNamepublic List<String> getValues()
An array values to filter for.
public void setValues(Collection<String> values)
An array values to filter for.
values - An array values to filter for.public PoolFilter withValues(String... values)
An array values to filter for.
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 - An array values to filter for.public PoolFilter withValues(Collection<String> values)
An array values to filter for.
values - An array values to filter for.public String toString()
toString in class ObjectObject.toString()public PoolFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.