Interface GetGatewayResponseResponse.Builder
-
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetGatewayResponseResponse.Builder,GetGatewayResponseResponse>,SdkBuilder<GetGatewayResponseResponse.Builder,GetGatewayResponseResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetGatewayResponseResponse
public static interface GetGatewayResponseResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetGatewayResponseResponse.Builder,GetGatewayResponseResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetGatewayResponseResponse.BuilderdefaultResponse(Boolean defaultResponse)A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false).GetGatewayResponseResponse.BuilderresponseParameters(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.BuilderresponseTemplates(Map<String,String> responseTemplates)Response templates of the GatewayResponse as a string-to-string map of key-value pairs.GetGatewayResponseResponse.BuilderresponseType(String responseType)The response type of the associated GatewayResponse.GetGatewayResponseResponse.BuilderresponseType(GatewayResponseType responseType)The response type of the associated GatewayResponse.GetGatewayResponseResponse.BuilderstatusCode(String statusCodeValue)The HTTP status code for this GatewayResponse.-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
responseType
GetGatewayResponseResponse.Builder responseType(String 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:
GatewayResponseType,GatewayResponseType
-
responseType
GetGatewayResponseResponse.Builder responseType(GatewayResponseType 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:
GatewayResponseType,GatewayResponseType
-
statusCode
GetGatewayResponseResponse.Builder statusCode(String statusCodeValue)
The HTTP status code for this GatewayResponse.
- Parameters:
statusCodeValue- The HTTP status code for this GatewayResponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseParameters
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.
- 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
GetGatewayResponseResponse.Builder responseTemplates(Map<String,String> 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.
-
defaultResponse
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 API Gateway without any customization by an API developer.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-