Interface ImportApiKeysRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>,SdkBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportApiKeysRequest
public static interface ImportApiKeysRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportApiKeysRequest.Builderbody(SdkBytes body)The payload of the POST request to import API keys.ImportApiKeysRequest.BuilderfailOnWarnings(Boolean failOnWarnings)A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.ImportApiKeysRequest.Builderformat(String format)A query parameter to specify the input format to imported API keys.ImportApiKeysRequest.Builderformat(ApiKeysFormat format)A query parameter to specify the input format to imported API keys.ImportApiKeysRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportApiKeysRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
body
ImportApiKeysRequest.Builder body(SdkBytes body)
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
- Parameters:
body- The payload of the POST request to import API keys. For the payload format, see API Key File Format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
ImportApiKeysRequest.Builder format(String format)
A query parameter to specify the input format to imported API keys. Currently, only the
csvformat is supported.- Parameters:
format- A query parameter to specify the input format to imported API keys. Currently, only thecsvformat is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApiKeysFormat,ApiKeysFormat
-
format
ImportApiKeysRequest.Builder format(ApiKeysFormat format)
A query parameter to specify the input format to imported API keys. Currently, only the
csvformat is supported.- Parameters:
format- A query parameter to specify the input format to imported API keys. Currently, only thecsvformat is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApiKeysFormat,ApiKeysFormat
-
failOnWarnings
ImportApiKeysRequest.Builder failOnWarnings(Boolean failOnWarnings)
A query parameter to indicate whether to rollback ApiKey importation (
true) or not (false) when error is encountered.- Parameters:
failOnWarnings- A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportApiKeysRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportApiKeysRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-