Interface BatchGetSecretValueRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchGetSecretValueRequest.Builder,
,BatchGetSecretValueRequest> SdkBuilder<BatchGetSecretValueRequest.Builder,
,BatchGetSecretValueRequest> SdkPojo
,SdkRequest.Builder
,SecretsManagerRequest.Builder
- Enclosing class:
BatchGetSecretValueRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) The filters to choose which secrets to retrieve.filters
(Consumer<Filter.Builder>... filters) The filters to choose which secrets to retrieve.The filters to choose which secrets to retrieve.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.secretIdList
(String... secretIdList) The ARN or names of the secrets to retrieve.secretIdList
(Collection<String> secretIdList) The ARN or names of the secrets to retrieve.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerRequest.Builder
build
-
Method Details
-
secretIdList
The ARN or names of the secrets to retrieve. You must include
Filters
orSecretIdList
, but not both.- Parameters:
secretIdList
- The ARN or names of the secrets to retrieve. You must includeFilters
orSecretIdList
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretIdList
The ARN or names of the secrets to retrieve. You must include
Filters
orSecretIdList
, but not both.- Parameters:
secretIdList
- The ARN or names of the secrets to retrieve. You must includeFilters
orSecretIdList
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to choose which secrets to retrieve. You must include
Filters
orSecretIdList
, but not both.- Parameters:
filters
- The filters to choose which secrets to retrieve. You must includeFilters
orSecretIdList
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to choose which secrets to retrieve. You must include
Filters
orSecretIdList
, but not both.- Parameters:
filters
- The filters to choose which secrets to retrieve. You must includeFilters
orSecretIdList
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to choose which secrets to retrieve. You must include
This is a convenience method that creates an instance of theFilters
orSecretIdList
, but not both.Filter.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:
-
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, callBatchGetSecretValue
again with the value fromNextToken
. To use this parameter, you must also use theFilters
parameter.- 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, callBatchGetSecretValue
again with the value fromNextToken
. To use this parameter, you must also use theFilters
parameter.- 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
BatchGetSecretValue
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, callBatchGetSecretValue
again with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchGetSecretValueRequest.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
BatchGetSecretValueRequest.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.
-