CopyableBuilder<ImportRestApiRequest.Builder,ImportRestApiRequest>
, SdkBuilder<ImportRestApiRequest.Builder,ImportRestApiRequest>
public static interface ImportRestApiRequest.Builder extends CopyableBuilder<ImportRestApiRequest.Builder,ImportRestApiRequest>
Modifier and Type | Method | Description |
---|---|---|
ImportRestApiRequest.Builder |
body(ByteBuffer body) |
The POST request body containing external API definitions.
|
ImportRestApiRequest.Builder |
failOnWarnings(Boolean failOnWarnings) |
A query parameter to indicate whether to rollback the API creation (
true ) or not (
false ) when a warning is encountered. |
ImportRestApiRequest.Builder |
parameters(Map<String,String> parameters) |
Custom header parameters as part of the request.
|
copy
apply, build
ImportRestApiRequest.Builder failOnWarnings(Boolean failOnWarnings)
A query parameter to indicate whether to rollback the API creation (true
) or not (
false
) when a warning is encountered. The default value is false
.
failOnWarnings
- A query parameter to indicate whether to rollback the API creation (true
) or not (
false
) when a warning is encountered. The default value is false
.ImportRestApiRequest.Builder parameters(Map<String,String> parameters)
Custom header parameters as part of the request.
parameters
- Custom header parameters as part of the request.ImportRestApiRequest.Builder body(ByteBuffer body)
The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported.
body
- The POST request body containing external API definitions. Currently, only Swagger definition JSON
files are supported.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.