@Generated(value="software.amazon.awssdk:codegen") public final class GetParametersByPathRequest extends SsmRequest implements ToCopyableBuilder<GetParametersByPathRequest.Builder,GetParametersByPathRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetParametersByPathRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetParametersByPathRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameterFilters()
For responses, this returns true if the service returned a value for the ParameterFilters property.
|
Integer |
maxResults()
The maximum number of items to return for this call.
|
String |
nextToken()
A token to start the list.
|
List<ParameterStringFilter> |
parameterFilters()
Filters to limit the request results.
|
String |
path()
The hierarchy for the parameter.
|
Boolean |
recursive()
Retrieve all parameters within a hierarchy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetParametersByPathRequest.Builder> |
serializableBuilderClass() |
GetParametersByPathRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
withDecryption()
Retrieve all parameters in a hierarchy with their value decrypted.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String path()
The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy is the parameter name
except the last part of the parameter. For the API call to succeed, the last part of the parameter name can't be
in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy:
/Finance/Prod/IAD/WinServ2016/license33
/Finance/Prod/IAD/WinServ2016/license33
public final Boolean recursive()
Retrieve all parameters within a hierarchy.
If a user has access to a path, then the user can access all levels of that path. For example, if a user has
permission to access path /a
, then the user can also access /a/b
. Even if a user has
explicitly been denied access in IAM for parameter /a/b
, they can still call the GetParametersByPath
API operation recursively for /a
and view /a/b
.
If a user has access to a path, then the user can access all levels of that path. For example, if a user
has permission to access path /a
, then the user can also access /a/b
. Even if a
user has explicitly been denied access in IAM for parameter /a/b
, they can still call the
GetParametersByPath API operation recursively for /a
and view /a/b
.
public final boolean hasParameterFilters()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ParameterStringFilter> parameterFilters()
Filters to limit the request results.
The following Key
values are supported for GetParametersByPath
: Type
,
KeyId
, and Label
.
The following Key
values aren't supported for GetParametersByPath
: tag
,
DataType
, Name
, Path
, and Tier
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameterFilters()
method.
The following Key
values are supported for GetParametersByPath
:
Type
, KeyId
, and Label
.
The following Key
values aren't supported for GetParametersByPath
:
tag
, DataType
, Name
, Path
, and Tier
.
public final Boolean withDecryption()
Retrieve all parameters in a hierarchy with their value decrypted.
public final Integer maxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public final String nextToken()
A token to start the list. Use this token to get the next set of results.
public GetParametersByPathRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetParametersByPathRequest.Builder,GetParametersByPathRequest>
toBuilder
in class SsmRequest
public static GetParametersByPathRequest.Builder builder()
public static Class<? extends GetParametersByPathRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.