public static interface PutGatewayResponseRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<PutGatewayResponseRequest.Builder,PutGatewayResponseRequest>
Modifier and Type | Method and Description |
---|---|
PutGatewayResponseRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutGatewayResponseRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.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
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutGatewayResponseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.