@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterStringFilter extends Object implements Serializable, Cloneable, StructuredPojo
One or more filters. Use a filter to return a more specific list of results.
Constructor and Description |
---|
ParameterStringFilter() |
Modifier and Type | Method and Description |
---|---|
ParameterStringFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getOption()
Valid options are Equals and BeginsWith.
|
List<String> |
getValues()
The value you want to search for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the filter.
|
void |
setOption(String option)
Valid options are Equals and BeginsWith.
|
void |
setValues(Collection<String> values)
The value you want to search for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ParameterStringFilter |
withKey(String key)
The name of the filter.
|
ParameterStringFilter |
withOption(String option)
Valid options are Equals and BeginsWith.
|
ParameterStringFilter |
withValues(Collection<String> values)
The value you want to search for.
|
ParameterStringFilter |
withValues(String... values)
The value you want to search for.
|
public void setKey(String key)
The name of the filter.
key
- The name of the filter.public String getKey()
The name of the filter.
public ParameterStringFilter withKey(String key)
The name of the filter.
key
- The name of the filter.public void setOption(String option)
Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.
option
- Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.public String getOption()
Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.
public ParameterStringFilter withOption(String option)
Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.
option
- Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.public List<String> getValues()
The value you want to search for.
public void setValues(Collection<String> values)
The value you want to search for.
values
- The value you want to search for.public ParameterStringFilter withValues(String... values)
The value you want to search 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
- The value you want to search for.public ParameterStringFilter withValues(Collection<String> values)
The value you want to search for.
values
- The value you want to search for.public String toString()
toString
in class Object
Object.toString()
public ParameterStringFilter 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.