Interface BatchGetSecretValueRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchGetSecretValueRequest.Builder,BatchGetSecretValueRequest>
,SdkBuilder<BatchGetSecretValueRequest.Builder,BatchGetSecretValueRequest>
,SdkPojo
,SdkRequest.Builder
,SecretsManagerRequest.Builder
- Enclosing class:
- BatchGetSecretValueRequest
public static interface BatchGetSecretValueRequest.Builder extends SecretsManagerRequest.Builder, SdkPojo, CopyableBuilder<BatchGetSecretValueRequest.Builder,BatchGetSecretValueRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetSecretValueRequest.Builder
filters(Collection<Filter> filters)
The filters to choose which secrets to retrieve.BatchGetSecretValueRequest.Builder
filters(Consumer<Filter.Builder>... filters)
The filters to choose which secrets to retrieve.BatchGetSecretValueRequest.Builder
filters(Filter... filters)
The filters to choose which secrets to retrieve.BatchGetSecretValueRequest.Builder
maxResults(Integer maxResults)
The number of results to include in the response.BatchGetSecretValueRequest.Builder
nextToken(String nextToken)
A token that indicates where the output should continue from, if a previous call did not show all results.BatchGetSecretValueRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
BatchGetSecretValueRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
BatchGetSecretValueRequest.Builder
secretIdList(String... secretIdList)
The ARN or names of the secrets to retrieve.BatchGetSecretValueRequest.Builder
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerRequest.Builder
build
-
-
-
-
Method Detail
-
secretIdList
BatchGetSecretValueRequest.Builder secretIdList(Collection<String> 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
BatchGetSecretValueRequest.Builder secretIdList(String... 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
BatchGetSecretValueRequest.Builder filters(Collection<Filter> 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
BatchGetSecretValueRequest.Builder filters(Filter... 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
BatchGetSecretValueRequest.Builder filters(Consumer<Filter.Builder>... 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 to#filters(List
.) - 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:
#filters(java.util.Collection
)
-
maxResults
BatchGetSecretValueRequest.Builder maxResults(Integer 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
BatchGetSecretValueRequest.Builder nextToken(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
BatchGetSecretValueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-