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