Interface PutGatewayResponseRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<PutGatewayResponseRequest.Builder,
,PutGatewayResponseRequest> SdkBuilder<PutGatewayResponseRequest.Builder,
,PutGatewayResponseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutGatewayResponseRequest
public static interface PutGatewayResponseRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<PutGatewayResponseRequest.Builder,PutGatewayResponseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.responseTemplates
(Map<String, String> responseTemplates) Response templates of the GatewayResponse as a string-to-string map of key-value pairs.responseType
(String responseType) The response type of the associated GatewayResponseresponseType
(GatewayResponseType responseType) The response type of the associated GatewayResponseThe string identifier of the associated RestApi.statusCode
(String statusCodeValue) The HTTP status code of the GatewayResponse.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
restApiId
The string identifier of the associated RestApi.
- Parameters:
restApiId
- The string identifier of the associated RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseType
The response type of the associated GatewayResponse
- Parameters:
responseType
- The response type of the associated GatewayResponse- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
responseType
The response type of the associated GatewayResponse
- Parameters:
responseType
- The response type of the associated GatewayResponse- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
The HTTP status code of the GatewayResponse.
- Parameters:
statusCodeValue
- The HTTP status code of the GatewayResponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseParameters
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
- Parameters:
responseParameters
- Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTemplates
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
- Parameters:
responseTemplates
- Response templates of the GatewayResponse as a string-to-string map of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutGatewayResponseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutGatewayResponseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-