public static interface ImportDocumentationPartsRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportDocumentationPartsRequest.Builder |
body(SdkBytes 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ImportDocumentationPartsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ImportDocumentationPartsRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
buildoverrideConfigurationcopyapplyMutation, 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(SdkBytes body)
[Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.
body - [Required] Raw byte array representing the to-be-imported documentation parts. To import from an
OpenAPI file, this is a JSON object.ImportDocumentationPartsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.ImportDocumentationPartsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.