public static interface PutGatewayResponseRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<PutGatewayResponseRequest.Builder,PutGatewayResponseRequest>
Modifier and Type | Method and Description |
---|---|
PutGatewayResponseRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutGatewayResponseRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
PutGatewayResponseRequest.Builder |
responseParameters(Map<String,String> responseParameters) |
PutGatewayResponseRequest.Builder |
responseTemplates(Map<String,String> responseTemplates) |
PutGatewayResponseRequest.Builder |
responseType(GatewayResponseType responseType) |
PutGatewayResponseRequest.Builder |
responseType(String responseType) |
PutGatewayResponseRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
PutGatewayResponseRequest.Builder |
statusCode(String statusCode)
The HTTP status code of the GatewayResponse.
|
build
requestOverrideConfig
copy
apply, build
PutGatewayResponseRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.PutGatewayResponseRequest.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
PutGatewayResponseRequest.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
PutGatewayResponseRequest.Builder statusCode(String statusCode)
statusCode
- The HTTP status code of the GatewayResponse.PutGatewayResponseRequest.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.PutGatewayResponseRequest.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.PutGatewayResponseRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.PutGatewayResponseRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.