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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The ARN or name of the secret whose versions you want to list.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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, callListSecretVersionIdsagain 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, callListSecretVersionIdsagain 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
ListSecretVersionIdsagain 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, callListSecretVersionIdsagain 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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSecretVersionIdsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-