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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestInvokeMethodResponse.Builderbody(String body)The body of the HTTP response.TestInvokeMethodResponse.Builderheaders(Map<String,String> headers)The headers of the HTTP response.TestInvokeMethodResponse.Builderlatency(Long latency)The execution latency, in ms, of the test invoke request.TestInvokeMethodResponse.Builderlog(String log)The API Gateway execution log for the test invoke request.TestInvokeMethodResponse.BuildermultiValueHeaders(Map<String,? extends Collection<String>> multiValueHeaders)The headers of the HTTP response as a map from string to list of values.TestInvokeMethodResponse.Builderstatus(Integer status)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
status
TestInvokeMethodResponse.Builder status(Integer 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
TestInvokeMethodResponse.Builder body(String 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
TestInvokeMethodResponse.Builder headers(Map<String,String> 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
TestInvokeMethodResponse.Builder log(String 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
TestInvokeMethodResponse.Builder latency(Long 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.
-
-