public static interface PutGatewayResponseResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<PutGatewayResponseResponse.Builder,PutGatewayResponseResponse>
Modifier and Type | Method and Description |
---|---|
PutGatewayResponseResponse.Builder |
defaultResponse(Boolean defaultResponse)
A Boolean flag to indicate whether this GatewayResponse is the default gateway response (
true ) or not (false ). |
PutGatewayResponseResponse.Builder |
responseParameters(Map<String,String> responseParameters)
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string
map of key-value pairs.
|
PutGatewayResponseResponse.Builder |
responseTemplates(Map<String,String> responseTemplates)
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
|
PutGatewayResponseResponse.Builder |
responseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
|
PutGatewayResponseResponse.Builder |
responseType(String responseType)
The response type of the associated GatewayResponse.
|
PutGatewayResponseResponse.Builder |
statusCode(String statusCode)
The HTTP status code for this GatewayResponse.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutGatewayResponseResponse.Builder responseType(String responseType)
The response type of the associated GatewayResponse. Valid values are
responseType
- The response type of the associated GatewayResponse. Valid values are
GatewayResponseType
,
GatewayResponseType
PutGatewayResponseResponse.Builder responseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse. Valid values are
responseType
- The response type of the associated GatewayResponse. Valid values are
GatewayResponseType
,
GatewayResponseType
PutGatewayResponseResponse.Builder statusCode(String statusCode)
The HTTP status code for this GatewayResponse.
statusCode
- The HTTP status code for this GatewayResponse.PutGatewayResponseResponse.Builder responseParameters(Map<String,String> responseParameters)
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
responseParameters
- Response parameters (paths, query strings and headers) of the GatewayResponse as a
string-to-string map of key-value pairs.PutGatewayResponseResponse.Builder responseTemplates(Map<String,String> responseTemplates)
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
responseTemplates
- Response templates of the GatewayResponse as a string-to-string map of key-value pairs.PutGatewayResponseResponse.Builder defaultResponse(Boolean defaultResponse)
A Boolean flag to indicate whether this GatewayResponse is the default gateway response (
true
) or not (false
). A default gateway response is one generated by API Gateway
without any customization by an API developer.
defaultResponse
- A Boolean flag to indicate whether this GatewayResponse is the default gateway response (
true
) or not (false
). A default gateway response is one generated by API
Gateway without any customization by an API developer.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.