CopyableBuilder<TestInvokeMethodResponse.Builder,TestInvokeMethodResponse>
, SdkBuilder<TestInvokeMethodResponse.Builder,TestInvokeMethodResponse>
public static interface TestInvokeMethodResponse.Builder extends CopyableBuilder<TestInvokeMethodResponse.Builder,TestInvokeMethodResponse>
Modifier and Type | Method | 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.
|
copy
apply, 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.