public static interface ImportDocumentationPartsRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportDocumentationPartsRequest.Builder |
body(SdkBytes body)
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) |
ImportDocumentationPartsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ImportDocumentationPartsRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportDocumentationPartsRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - 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)
Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.
body - 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)
overrideConfiguration in interface AwsRequest.BuilderImportDocumentationPartsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.