CopyableBuilder<CreateRestApiRequest.Builder,CreateRestApiRequest>, SdkBuilder<CreateRestApiRequest.Builder,CreateRestApiRequest>public static interface CreateRestApiRequest.Builder extends CopyableBuilder<CreateRestApiRequest.Builder,CreateRestApiRequest>
| Modifier and Type | Method | Description |
|---|---|---|
CreateRestApiRequest.Builder |
binaryMediaTypes(String... binaryMediaTypes) |
The list of binary media types supported by the RestApi.
|
CreateRestApiRequest.Builder |
binaryMediaTypes(Collection<String> binaryMediaTypes) |
The list of binary media types supported by the RestApi.
|
CreateRestApiRequest.Builder |
cloneFrom(String cloneFrom) |
The ID of the RestApi that you want to clone from.
|
CreateRestApiRequest.Builder |
description(String description) |
The description of the RestApi.
|
CreateRestApiRequest.Builder |
name(String name) |
The name of the RestApi.
|
CreateRestApiRequest.Builder |
version(String version) |
A version identifier for the API.
|
copyapply, buildCreateRestApiRequest.Builder name(String name)
The name of the RestApi.
name - The name of the RestApi.CreateRestApiRequest.Builder description(String description)
The description of the RestApi.
description - The description of the RestApi.CreateRestApiRequest.Builder version(String version)
A version identifier for the API.
version - A version identifier for the API.CreateRestApiRequest.Builder cloneFrom(String cloneFrom)
The ID of the RestApi that you want to clone from.
cloneFrom - The ID of the RestApi that you want to clone from.CreateRestApiRequest.Builder binaryMediaTypes(Collection<String> binaryMediaTypes)
CreateRestApiRequest.Builder binaryMediaTypes(String... binaryMediaTypes)
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
NOTE: This method appends the values to the existing list (if any). Use
#setBinaryMediaTypes(java.util.Collection) or #withBinaryMediaTypes(java.util.Collection) if
you want to override the existing values.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.