public static interface ImportDocumentationPartsRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportDocumentationPartsRequest.Builder |
body(ByteBuffer body)
[Required] Raw byte array representing the to-be-imported documentation parts.
|
ImportDocumentationPartsRequest.Builder |
failOnWarnings(Boolean failOnWarnings)
A query parameter to specify whether to rollback the documentation importation (
true) or not (
false) when a warning is encountered. |
ImportDocumentationPartsRequest.Builder |
mode(PutMode mode)
A query parameter to indicate whether to overwrite (
OVERWRITE) any existing
DocumentationParts definition or to merge (MERGE) the new definition into the existing
one. |
ImportDocumentationPartsRequest.Builder |
mode(String mode)
A query parameter to indicate whether to overwrite (
OVERWRITE) any existing
DocumentationParts definition or to merge (MERGE) the new definition into the existing
one. |
ImportDocumentationPartsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ImportDocumentationPartsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ImportDocumentationPartsRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
buildrequestOverrideConfigcopyapply, buildImportDocumentationPartsRequest.Builder restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.ImportDocumentationPartsRequest.Builder mode(String mode)
A query parameter to indicate whether to overwrite (OVERWRITE) any existing
DocumentationParts definition or to merge (MERGE) the new definition into the existing
one. The default value is MERGE.
mode - A query parameter to indicate whether to overwrite (OVERWRITE) any existing
DocumentationParts definition or to merge (MERGE) the new definition into the
existing one. The default value is MERGE.PutMode,
PutModeImportDocumentationPartsRequest.Builder mode(PutMode mode)
A query parameter to indicate whether to overwrite (OVERWRITE) any existing
DocumentationParts definition or to merge (MERGE) the new definition into the existing
one. The default value is MERGE.
mode - A query parameter to indicate whether to overwrite (OVERWRITE) any existing
DocumentationParts definition or to merge (MERGE) the new definition into the
existing one. The default value is MERGE.PutMode,
PutModeImportDocumentationPartsRequest.Builder failOnWarnings(Boolean failOnWarnings)
A query parameter to specify whether to rollback the documentation importation (true) or not (
false) when a warning is encountered. The default value is false.
failOnWarnings - A query parameter to specify whether to rollback the documentation importation (true) or
not (false) when a warning is encountered. The default value is false.ImportDocumentationPartsRequest.Builder body(ByteBuffer body)
[Required] Raw byte array representing the to-be-imported documentation parts. To import from a Swagger file, this is a JSON object.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
body - [Required] Raw byte array representing the to-be-imported documentation parts. To import from a
Swagger file, this is a JSON object.ImportDocumentationPartsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ImportDocumentationPartsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.