@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Allows you to add filters when you use the search function in Secrets Manager.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
Filters your list of secrets by a specific key.
|
List<String> |
getValues()
Filters your list of secrets by a specific value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
Filters your list of secrets by a specific key.
|
void |
setValues(Collection<String> values)
Filters your list of secrets by a specific value.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withKey(FilterNameStringType key)
Filters your list of secrets by a specific key.
|
Filter |
withKey(String key)
Filters your list of secrets by a specific key.
|
Filter |
withValues(Collection<String> values)
Filters your list of secrets by a specific value.
|
Filter |
withValues(String... values)
Filters your list of secrets by a specific value.
|
public void setKey(String key)
Filters your list of secrets by a specific key.
key - Filters your list of secrets by a specific key.FilterNameStringTypepublic String getKey()
Filters your list of secrets by a specific key.
FilterNameStringTypepublic Filter withKey(String key)
Filters your list of secrets by a specific key.
key - Filters your list of secrets by a specific key.FilterNameStringTypepublic Filter withKey(FilterNameStringType key)
Filters your list of secrets by a specific key.
key - Filters your list of secrets by a specific key.FilterNameStringTypepublic List<String> getValues()
Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation filters.
You can prefix your search value with an exclamation mark (!) in order to perform negation
filters.
public void setValues(Collection<String> values)
Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation filters.
values - Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation
filters.
public Filter withValues(String... values)
Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation filters.
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 - Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation
filters.
public Filter withValues(Collection<String> values)
Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation filters.
values - Filters your list of secrets by a specific value.
You can prefix your search value with an exclamation mark (!) in order to perform negation
filters.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.