CopyableBuilder<UpdateRestApiResponse.Builder,UpdateRestApiResponse>
, SdkBuilder<UpdateRestApiResponse.Builder,UpdateRestApiResponse>
public static interface UpdateRestApiResponse.Builder extends CopyableBuilder<UpdateRestApiResponse.Builder,UpdateRestApiResponse>
Modifier and Type | Method | Description |
---|---|---|
UpdateRestApiResponse.Builder |
binaryMediaTypes(String... binaryMediaTypes) |
The list of binary media types supported by the RestApi.
|
UpdateRestApiResponse.Builder |
binaryMediaTypes(Collection<String> binaryMediaTypes) |
The list of binary media types supported by the RestApi.
|
UpdateRestApiResponse.Builder |
createdDate(Date createdDate) |
The timestamp when the API was created.
|
UpdateRestApiResponse.Builder |
description(String description) |
The API's description.
|
UpdateRestApiResponse.Builder |
id(String id) |
The API's identifier.
|
UpdateRestApiResponse.Builder |
name(String name) |
The API's name.
|
UpdateRestApiResponse.Builder |
version(String version) |
A version identifier for the API.
|
UpdateRestApiResponse.Builder |
warnings(String... warnings) |
The warning messages reported when
failonwarnings is turned on during API import. |
UpdateRestApiResponse.Builder |
warnings(Collection<String> warnings) |
The warning messages reported when
failonwarnings is turned on during API import. |
copy
apply, build
UpdateRestApiResponse.Builder id(String id)
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
id
- The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.UpdateRestApiResponse.Builder name(String name)
The API's name.
name
- The API's name.UpdateRestApiResponse.Builder description(String description)
The API's description.
description
- The API's description.UpdateRestApiResponse.Builder createdDate(Date createdDate)
The timestamp when the API was created.
createdDate
- The timestamp when the API was created.UpdateRestApiResponse.Builder version(String version)
A version identifier for the API.
version
- A version identifier for the API.UpdateRestApiResponse.Builder warnings(Collection<String> warnings)
The warning messages reported when failonwarnings
is turned on during API import.
warnings
- The warning messages reported when failonwarnings
is turned on during API import.UpdateRestApiResponse.Builder warnings(String... warnings)
The warning messages reported when failonwarnings
is turned on during API import.
NOTE: This method appends the values to the existing list (if any). Use
#setWarnings(java.util.Collection)
or #withWarnings(java.util.Collection)
if you want to
override the existing values.
warnings
- The warning messages reported when failonwarnings
is turned on during API import.UpdateRestApiResponse.Builder binaryMediaTypes(Collection<String> binaryMediaTypes)
UpdateRestApiResponse.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.