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.Builderfilters(Collection<Filter> filters)The filters to choose which secrets to retrieve.BatchGetSecretValueRequest.Builderfilters(Consumer<Filter.Builder>... filters)The filters to choose which secrets to retrieve.BatchGetSecretValueRequest.Builderfilters(Filter... filters)The filters to choose which secrets to retrieve.BatchGetSecretValueRequest.BuildermaxResults(Integer maxResults)The number of results to include in the response.BatchGetSecretValueRequest.BuildernextToken(String nextToken)A token that indicates where the output should continue from, if a previous call did not show all results.BatchGetSecretValueRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchGetSecretValueRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchGetSecretValueRequest.BuildersecretIdList(String... secretIdList)The ARN or names of the secrets to retrieve.BatchGetSecretValueRequest.BuildersecretIdList(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 Detail
-
secretIdList
BatchGetSecretValueRequest.Builder secretIdList(Collection<String> 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
BatchGetSecretValueRequest.Builder secretIdList(String... 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
BatchGetSecretValueRequest.Builder filters(Collection<Filter> 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
BatchGetSecretValueRequest.Builder filters(Filter... 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
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 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 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, 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
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
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchGetSecretValueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-