public static interface TestInvokeMethodResponse.Builder extends ApiGatewayResponse.Builder, CopyableBuilder<TestInvokeMethodResponse.Builder,TestInvokeMethodResponse>
Modifier and Type | Method and Description |
---|---|
TestInvokeMethodResponse.Builder |
body(String body)
The body of the HTTP response.
|
TestInvokeMethodResponse.Builder |
headers(Map<String,String> headers)
The headers of the HTTP response.
|
TestInvokeMethodResponse.Builder |
latency(Long latency)
The execution latency of the test invoke request.
|
TestInvokeMethodResponse.Builder |
log(String log)
The Amazon API Gateway execution log for the test invoke request.
|
TestInvokeMethodResponse.Builder |
status(Integer status)
The HTTP status code.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
TestInvokeMethodResponse.Builder status(Integer status)
The HTTP status code.
status
- The HTTP status code.TestInvokeMethodResponse.Builder body(String body)
The body of the HTTP response.
body
- The body of the HTTP response.TestInvokeMethodResponse.Builder headers(Map<String,String> headers)
The headers of the HTTP response.
headers
- The headers of the HTTP response.TestInvokeMethodResponse.Builder log(String log)
The Amazon API Gateway execution log for the test invoke request.
log
- The Amazon API Gateway execution log for the test invoke request.TestInvokeMethodResponse.Builder latency(Long latency)
The execution latency of the test invoke request.
latency
- The execution latency of the test invoke request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.