@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)
Marshalls this structured data using the given
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.
FilterNameStringType
public 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.
FilterNameStringType
public 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.
FilterNameStringType
public 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.
FilterNameStringType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.