Interface GetParametersByPathRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetParametersByPathRequest.Builder,
,GetParametersByPathRequest> SdkBuilder<GetParametersByPathRequest.Builder,
,GetParametersByPathRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
GetParametersByPathRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of items to return for this call.A token to start the list.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameterFilters
(Collection<ParameterStringFilter> parameterFilters) Filters to limit the request results.parameterFilters
(Consumer<ParameterStringFilter.Builder>... parameterFilters) Filters to limit the request results.parameterFilters
(ParameterStringFilter... parameterFilters) Filters to limit the request results.The hierarchy for the parameter.Retrieve all parameters within a hierarchy.withDecryption
(Boolean withDecryption) Retrieve all parameters in a hierarchy with their value decrypted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterFilters
GetParametersByPathRequest.Builder parameterFilters(Collection<ParameterStringFilter> parameterFilters) Filters to limit the request results.
The following
Key
values are supported forGetParametersByPath
:Type
,KeyId
, andLabel
.The following
Key
values aren't supported forGetParametersByPath
:tag
,DataType
,Name
,Path
, andTier
.- Parameters:
parameterFilters
- Filters to limit the request results.The following
Key
values are supported forGetParametersByPath
:Type
,KeyId
, andLabel
.The following
Key
values aren't supported forGetParametersByPath
:tag
,DataType
,Name
,Path
, andTier
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterFilters
Filters to limit the request results.
The following
Key
values are supported forGetParametersByPath
:Type
,KeyId
, andLabel
.The following
Key
values aren't supported forGetParametersByPath
:tag
,DataType
,Name
,Path
, andTier
.- Parameters:
parameterFilters
- Filters to limit the request results.The following
Key
values are supported forGetParametersByPath
:Type
,KeyId
, andLabel
.The following
Key
values aren't supported forGetParametersByPath
:tag
,DataType
,Name
,Path
, andTier
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterFilters
GetParametersByPathRequest.Builder parameterFilters(Consumer<ParameterStringFilter.Builder>... parameterFilters) Filters to limit the request results.
The following
Key
values are supported forGetParametersByPath
:Type
,KeyId
, andLabel
.The following
Key
values aren't supported forGetParametersByPath
:tag
,DataType
,Name
,Path
, andTier
.ParameterStringFilter.Builder
avoiding the need to create one manually viaParameterStringFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameterFilters(List<ParameterStringFilter>)
.- Parameters:
parameterFilters
- a consumer that will call methods onParameterStringFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withDecryption
Retrieve all parameters in a hierarchy with their value decrypted.
- Parameters:
withDecryption
- Retrieve all parameters in a hierarchy with their value decrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to start the list. Use this token to get the next set of results.
- Parameters:
nextToken
- A token to start the list. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetParametersByPathRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetParametersByPathRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-