public static interface PutRestApiResponse.Builder extends APIGatewayResponse.Builder, CopyableBuilder<PutRestApiResponse.Builder,PutRestApiResponse>
| Modifier and Type | Method and Description |
|---|---|
PutRestApiResponse.Builder |
binaryMediaTypes(Collection<String> binaryMediaTypes)
The list of binary media types supported by the RestApi.
|
PutRestApiResponse.Builder |
binaryMediaTypes(String... binaryMediaTypes)
The list of binary media types supported by the RestApi.
|
PutRestApiResponse.Builder |
createdDate(Instant createdDate)
The timestamp when the API was created.
|
PutRestApiResponse.Builder |
description(String description)
The API's description.
|
default PutRestApiResponse.Builder |
endpointConfiguration(Consumer<EndpointConfiguration.Builder> endpointConfiguration)
The endpoint configuration of this RestApi showing the endpoint types of the API.
|
PutRestApiResponse.Builder |
endpointConfiguration(EndpointConfiguration endpointConfiguration)
The endpoint configuration of this RestApi showing the endpoint types of the API.
|
PutRestApiResponse.Builder |
id(String id)
The API's identifier.
|
PutRestApiResponse.Builder |
name(String name)
The API's name.
|
PutRestApiResponse.Builder |
version(String version)
A version identifier for the API.
|
PutRestApiResponse.Builder |
warnings(Collection<String> warnings)
The warning messages reported when
failonwarnings is turned on during API import. |
PutRestApiResponse.Builder |
warnings(String... warnings)
The warning messages reported when
failonwarnings is turned on during API import. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildPutRestApiResponse.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.PutRestApiResponse.Builder name(String name)
The API's name.
name - The API's name.PutRestApiResponse.Builder description(String description)
The API's description.
description - The API's description.PutRestApiResponse.Builder createdDate(Instant createdDate)
The timestamp when the API was created.
createdDate - The timestamp when the API was created.PutRestApiResponse.Builder version(String version)
A version identifier for the API.
version - A version identifier for the API.PutRestApiResponse.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.PutRestApiResponse.Builder warnings(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.PutRestApiResponse.Builder binaryMediaTypes(Collection<String> binaryMediaTypes)
PutRestApiResponse.Builder binaryMediaTypes(String... binaryMediaTypes)
PutRestApiResponse.Builder endpointConfiguration(EndpointConfiguration endpointConfiguration)
The endpoint configuration of this RestApi showing the endpoint types of the API.
endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.default PutRestApiResponse.Builder endpointConfiguration(Consumer<EndpointConfiguration.Builder> endpointConfiguration)
The endpoint configuration of this RestApi showing the endpoint types of the API.
This is a convenience that creates an instance of theEndpointConfiguration.Builder avoiding the need
to create one manually via EndpointConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to endpointConfiguration(EndpointConfiguration).endpointConfiguration - a consumer that will call methods on EndpointConfiguration.BuilderendpointConfiguration(EndpointConfiguration)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.