CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
, SdkBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
public static interface ImportDocumentationPartsRequest.Builder extends CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
Modifier and Type | Method | 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(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 |
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 |
restApiId(String restApiId) |
[Required] The identifier of an API of the to-be-imported documentation parts.
|
copy
apply, build
ImportDocumentationPartsRequest.Builder restApiId(String restApiId)
[Required] The identifier of an API of the to-be-imported documentation parts.
restApiId
- [Required] The identifier of an API of the to-be-imported documentation parts.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
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
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(ByteBuffer 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.