Interface TestInvokeMethodResponse.Builder
- All Superinterfaces:
ApiGatewayResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<TestInvokeMethodResponse.Builder,
,TestInvokeMethodResponse> SdkBuilder<TestInvokeMethodResponse.Builder,
,TestInvokeMethodResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
TestInvokeMethodResponse
public static interface TestInvokeMethodResponse.Builder
extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<TestInvokeMethodResponse.Builder,TestInvokeMethodResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe body of the HTTP response.The headers of the HTTP response.The execution latency, in ms, of the test invoke request.The API Gateway execution log for the test invoke request.multiValueHeaders
(Map<String, ? extends Collection<String>> multiValueHeaders) The headers of the HTTP response as a map from string to list of values.The HTTP status code.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The HTTP status code.
- Parameters:
status
- The HTTP status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The body of the HTTP response.
- Parameters:
body
- The body of the HTTP response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
The headers of the HTTP response.
- Parameters:
headers
- The headers of the HTTP response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiValueHeaders
TestInvokeMethodResponse.Builder multiValueHeaders(Map<String, ? extends Collection<String>> multiValueHeaders) The headers of the HTTP response as a map from string to list of values.
- Parameters:
multiValueHeaders
- The headers of the HTTP response as a map from string to list of values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
The API Gateway execution log for the test invoke request.
- Parameters:
log
- The API Gateway execution log for the test invoke request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latency
The execution latency, in ms, of the test invoke request.
- Parameters:
latency
- The execution latency, in ms, of the test invoke request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-