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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerRequest.Builderbuild
- 
Method Details- 
includePlannedDeletionSpecifies 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.
 
- 
maxResultsThe 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, call- ListSecretsagain with the value from- NextToken.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenA 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, call- ListSecretsagain with this value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersThe 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.
 
- 
filtersThe 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.
 
- 
filtersThe 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 on- Filter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sortOrderSecrets are listed by CreatedDate.- Parameters:
- sortOrder- Secrets are listed by- CreatedDate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sortOrderSecrets are listed by CreatedDate.- Parameters:
- sortOrder- Secrets are listed by- CreatedDate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationListSecretsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListSecretsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-