public static interface ImportDocumentationPartsRequest.Builder extends ApiGatewayRequest.Builder, 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.
|
build
overrideConfiguration
copy
applyMutation, build
ImportDocumentationPartsRequest.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
,
PutMode
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. 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
,
PutMode
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. 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 a Swagger file, this is a JSON object.
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ImportDocumentationPartsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.