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
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, sdkFieldsMethods 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, callListSecretsagain 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, callListSecretsagain 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
ListSecretsagain 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, callListSecretsagain 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.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-