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
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
-
secretIdList
The ARN or names of the secrets to retrieve. You must include
FiltersorSecretIdList, but not both.- Parameters:
secretIdList- The ARN or names of the secrets to retrieve. You must includeFiltersorSecretIdList, 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
FiltersorSecretIdList, but not both.- Parameters:
secretIdList- The ARN or names of the secrets to retrieve. You must includeFiltersorSecretIdList, 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
FiltersorSecretIdList, but not both.- Parameters:
filters- The filters to choose which secrets to retrieve. You must includeFiltersorSecretIdList, 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
FiltersorSecretIdList, but not both.- Parameters:
filters- The filters to choose which secrets to retrieve. You must includeFiltersorSecretIdList, 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 theFiltersorSecretIdList, but not both.Filter.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:
-
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, callBatchGetSecretValueagain with the value fromNextToken. To use this parameter, you must also use theFiltersparameter.- 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, callBatchGetSecretValueagain with the value fromNextToken. To use this parameter, you must also use theFiltersparameter.- 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
BatchGetSecretValueagain 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, callBatchGetSecretValueagain 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-