public static interface ImportApiKeysRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>
Modifier and Type | Method and Description |
---|---|
ImportApiKeysRequest.Builder |
body(SdkBytes body)
The payload of the POST request to import API keys.
|
ImportApiKeysRequest.Builder |
failOnWarnings(Boolean failOnWarnings)
A query parameter to indicate whether to rollback ApiKey importation (
true ) or not (
false ) when error is encountered. |
ImportApiKeysRequest.Builder |
format(ApiKeysFormat format)
A query parameter to specify the input format to imported API keys.
|
ImportApiKeysRequest.Builder |
format(String format)
A query parameter to specify the input format to imported API keys.
|
ImportApiKeysRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ImportApiKeysRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ImportApiKeysRequest.Builder body(SdkBytes body)
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
body
- The payload of the POST request to import API keys. For the payload format, see API Key
File Format.ImportApiKeysRequest.Builder format(String format)
A query parameter to specify the input format to imported API keys. Currently, only the csv
format is supported.
format
- A query parameter to specify the input format to imported API keys. Currently, only the
csv
format is supported.ApiKeysFormat
,
ApiKeysFormat
ImportApiKeysRequest.Builder format(ApiKeysFormat format)
A query parameter to specify the input format to imported API keys. Currently, only the csv
format is supported.
format
- A query parameter to specify the input format to imported API keys. Currently, only the
csv
format is supported.ApiKeysFormat
,
ApiKeysFormat
ImportApiKeysRequest.Builder failOnWarnings(Boolean failOnWarnings)
A query parameter to indicate whether to rollback ApiKey importation (true
) or not (
false
) when error is encountered.
failOnWarnings
- A query parameter to indicate whether to rollback ApiKey importation (true
) or not
(false
) when error is encountered.ImportApiKeysRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ImportApiKeysRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.