@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParametersFilter extends Object implements Serializable, Cloneable, StructuredPojo
One or more filters. Use a filter to return a more specific list of results.
Constructor and Description |
---|
ParametersFilter() |
Modifier and Type | Method and Description |
---|---|
ParametersFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
List<String> |
getValues()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(ParametersFilterKey key)
The name of the filter.
|
void |
setKey(String key)
The name of the filter.
|
void |
setValues(Collection<String> values)
The filter values.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ParametersFilter |
withKey(ParametersFilterKey key)
The name of the filter.
|
ParametersFilter |
withKey(String key)
The name of the filter.
|
ParametersFilter |
withValues(Collection<String> values)
The filter values.
|
ParametersFilter |
withValues(String... values)
The filter values.
|
public void setKey(String key)
The name of the filter.
key
- The name of the filter.ParametersFilterKey
public String getKey()
The name of the filter.
ParametersFilterKey
public ParametersFilter withKey(String key)
The name of the filter.
key
- The name of the filter.ParametersFilterKey
public void setKey(ParametersFilterKey key)
The name of the filter.
key
- The name of the filter.ParametersFilterKey
public ParametersFilter withKey(ParametersFilterKey key)
The name of the filter.
key
- The name of the filter.ParametersFilterKey
public void setValues(Collection<String> values)
The filter values.
values
- The filter values.public ParametersFilter withValues(String... values)
The filter values.
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 values.public ParametersFilter withValues(Collection<String> values)
The filter values.
values
- The filter values.public String toString()
toString
in class Object
Object.toString()
public ParametersFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.