Interface ListSecretVersionIdsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListSecretVersionIdsRequest.Builder,
,ListSecretVersionIdsRequest> SdkBuilder<ListSecretVersionIdsRequest.Builder,
,ListSecretVersionIdsRequest> SdkPojo
,SdkRequest.Builder
,SecretsManagerRequest.Builder
- Enclosing class:
ListSecretVersionIdsRequest
-
Method Summary
Modifier and TypeMethodDescriptionincludeDeprecated
(Boolean includeDeprecated) Specifies whether to include versions of secrets that don't have any staging labels attached to them.maxResults
(Integer maxResults) The number of results to include in the response.A token that indicates where the output should continue from, if a previous call did not show all results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN or name of the secret whose versions you want to list.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.secretsmanager.model.SecretsManagerRequest.Builder
build
-
Method Details
-
secretId
The ARN or name of the secret whose versions you want to list.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
- Parameters:
secretId
- The ARN or name of the secret whose versions you want to list.For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The number of results to include in the response.
If there are more results available, in the response, Secrets Manager includes
NextToken
. To get the next results, callListSecretVersionIds
again with the value fromNextToken
.- Parameters:
maxResults
- The number of results to include in the response.If there are more results available, in the response, Secrets Manager includes
NextToken
. To get the next results, callListSecretVersionIds
again with the value fromNextToken
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call
ListSecretVersionIds
again with this value.- Parameters:
nextToken
- A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, callListSecretVersionIds
again with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeDeprecated
Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager. By default, versions without staging labels aren't included.
- Parameters:
includeDeprecated
- Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager. By default, versions without staging labels aren't included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSecretVersionIdsRequest.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
ListSecretVersionIdsRequest.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.
-