public static interface ImportApiKeysRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>
Modifier and Type | Method and Description |
---|---|
ImportApiKeysRequest.Builder |
body(ByteBuffer 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ImportApiKeysRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
ImportApiKeysRequest.Builder body(ByteBuffer body)
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ImportApiKeysRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.