@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.
The Name and Tier filter keys can't be used with the GetParametersByPath API action.
Also, the Label filter key can't be used with the DescribeParameters API action.
| 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) |
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.
|
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 ObjectObject.toString()public ParameterStringFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.