@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. For more information, see Find secrets in Secrets Manager.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The following are keys you can use:
|
List<String> |
getValues()
The keyword to filter for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The following are keys you can use:
|
void |
setValues(Collection<String> values)
The keyword to filter for.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withKey(FilterNameStringType key)
The following are keys you can use:
|
Filter |
withKey(String key)
The following are keys you can use:
|
Filter |
withValues(Collection<String> values)
The keyword to filter for.
|
Filter |
withValues(String... values)
The keyword to filter for.
|
public void setKey(String key)
The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
key - The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
FilterNameStringTypepublic String getKey()
The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
FilterNameStringTypepublic Filter withKey(String key)
The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
key - The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
FilterNameStringTypepublic Filter withKey(FilterNameStringType key)
The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
key - The following are keys you can use:
description: Prefix match, not case-sensitive.
name: Prefix match, case-sensitive.
tag-key: Prefix match, case-sensitive.
tag-value: Prefix match, case-sensitive.
primary-region: Prefix match, case-sensitive.
owning-service: Prefix match, case-sensitive.
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
FilterNameStringTypepublic List<String> getValues()
The keyword to filter for.
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)
The keyword to filter for.
You can prefix your search value with an exclamation mark (!) in order to perform negation filters.
values - The keyword to filter for.
You can prefix your search value with an exclamation mark (!) in order to perform negation
filters.
public Filter withValues(String... values)
The keyword to filter for.
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 - The keyword to filter for.
You can prefix your search value with an exclamation mark (!) in order to perform negation
filters.
public Filter withValues(Collection<String> values)
The keyword to filter for.
You can prefix your search value with an exclamation mark (!) in order to perform negation filters.
values - The keyword to filter for.
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 © 2023. All rights reserved.