@Generated(value="software.amazon.awssdk:codegen") public final class ParameterStringFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParameterStringFilter.Builder,ParameterStringFilter>
One or more filters. Use a filter to return a more specific list of results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParameterStringFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ParameterStringFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasValues()
Returns true if the Values property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
key()
The name of the filter.
|
String |
option()
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ParameterStringFilter.Builder> |
serializableBuilderClass() |
ParameterStringFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
The value you want to search for.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The name of the filter.
The ParameterStringFilter object is used by the DescribeParameters and
GetParametersByPath API actions. However, not all of the pattern values listed for Key can be
used with both actions.
For DescribeActions, all of the listed patterns are valid, with the exception of Label.
For GetParametersByPath, the following patterns listed for Key are not valid:
tag, Name, Path, and Tier.
For examples of CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the AWS Systems Manager User Guide.
The ParameterStringFilter object is used by the DescribeParameters and
GetParametersByPath API actions. However, not all of the pattern values listed for
Key can be used with both actions.
For DescribeActions, all of the listed patterns are valid, with the exception of
Label.
For GetParametersByPath, the following patterns listed for Key are not valid:
tag, Name, Path, and Tier.
For examples of CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the AWS Systems Manager User Guide.
public final String option()
For all filters used with DescribeParameters, valid options include Equals and
BeginsWith. The Name filter additionally supports the Contains option.
(Exception: For filters using the key Path, valid options include Recursive and
OneLevel.)
For filters used with GetParametersByPath, valid options include Equals and
BeginsWith. (Exception: For filters using Label as the Key name, the only valid option
is Equals.)
Equals and
BeginsWith. The Name filter additionally supports the Contains
option. (Exception: For filters using the key Path, valid options include
Recursive and OneLevel.)
For filters used with GetParametersByPath, valid options include Equals and
BeginsWith. (Exception: For filters using Label as the Key name, the only valid
option is Equals.)
public final boolean hasValues()
public final List<String> values()
The value you want to search for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasValues() to see if a value was sent in this field.
public ParameterStringFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ParameterStringFilter.Builder,ParameterStringFilter>public static ParameterStringFilter.Builder builder()
public static Class<? extends ParameterStringFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2020. All rights reserved.