Interface ListSecretsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListSecretsRequest.Builder,
,ListSecretsRequest> SdkBuilder<ListSecretsRequest.Builder,
,ListSecretsRequest> SdkPojo
,SdkRequest.Builder
,SecretsManagerRequest.Builder
- Enclosing class:
ListSecretsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) The filters to apply to the list of secrets.filters
(Consumer<Filter.Builder>... filters) The filters to apply to the list of secrets.The filters to apply to the list of secrets.includePlannedDeletion
(Boolean includePlannedDeletion) Specifies whether to include secrets scheduled for deletion.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.Secrets are listed byCreatedDate
.sortOrder
(SortOrderType sortOrder) Secrets are listed byCreatedDate
.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
-
includePlannedDeletion
Specifies whether to include secrets scheduled for deletion. By default, secrets scheduled for deletion aren't included.
- Parameters:
includePlannedDeletion
- Specifies whether to include secrets scheduled for deletion. By default, secrets scheduled for deletion aren't included.- 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, callListSecrets
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, callListSecrets
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
ListSecrets
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, callListSecrets
again with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the list of secrets.
- Parameters:
filters
- The filters to apply to the list of secrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the list of secrets.
- Parameters:
filters
- The filters to apply to the list of secrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the list of secrets.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Secrets are listed by
CreatedDate
.- Parameters:
sortOrder
- Secrets are listed byCreatedDate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Secrets are listed by
CreatedDate
.- Parameters:
sortOrder
- Secrets are listed byCreatedDate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListSecretsRequest.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
ListSecretsRequest.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.
-