public static interface TestInvokeMethodRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<TestInvokeMethodRequest.Builder,TestInvokeMethodRequest>
Modifier and Type | Method and Description |
---|---|
TestInvokeMethodRequest.Builder |
body(String body)
The simulated request body of an incoming invocation request.
|
TestInvokeMethodRequest.Builder |
clientCertificateId(String clientCertificateId)
A ClientCertificate identifier to use in the test invocation.
|
TestInvokeMethodRequest.Builder |
headers(Map<String,String> headers)
A key-value map of headers to simulate an incoming invocation request.
|
TestInvokeMethodRequest.Builder |
httpMethod(String httpMethod)
[Required] Specifies a test invoke method request's HTTP method.
|
TestInvokeMethodRequest.Builder |
multiValueHeaders(Map<String,? extends Collection<String>> multiValueHeaders)
The headers as a map from string to list of values to simulate an incoming invocation request.
|
TestInvokeMethodRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
TestInvokeMethodRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
TestInvokeMethodRequest.Builder |
pathWithQueryString(String pathWithQueryString)
The URI path, including query string, of the simulated invocation request.
|
TestInvokeMethodRequest.Builder |
resourceId(String resourceId)
[Required] Specifies a test invoke method request's resource ID.
|
TestInvokeMethodRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
TestInvokeMethodRequest.Builder |
stageVariables(Map<String,String> stageVariables)
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
build
overrideConfiguration
copy
applyMutation, build
TestInvokeMethodRequest.Builder restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.TestInvokeMethodRequest.Builder resourceId(String resourceId)
[Required] Specifies a test invoke method request's resource ID.
resourceId
- [Required] Specifies a test invoke method request's resource ID.TestInvokeMethodRequest.Builder httpMethod(String httpMethod)
[Required] Specifies a test invoke method request's HTTP method.
httpMethod
- [Required] Specifies a test invoke method request's HTTP method.TestInvokeMethodRequest.Builder pathWithQueryString(String pathWithQueryString)
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
pathWithQueryString
- The URI path, including query string, of the simulated invocation request. Use this to specify path
parameters and query string parameters.TestInvokeMethodRequest.Builder body(String body)
The simulated request body of an incoming invocation request.
body
- The simulated request body of an incoming invocation request.TestInvokeMethodRequest.Builder headers(Map<String,String> headers)
A key-value map of headers to simulate an incoming invocation request.
headers
- A key-value map of headers to simulate an incoming invocation request.TestInvokeMethodRequest.Builder multiValueHeaders(Map<String,? extends Collection<String>> multiValueHeaders)
The headers as a map from string to list of values to simulate an incoming invocation request.
multiValueHeaders
- The headers as a map from string to list of values to simulate an incoming invocation request.TestInvokeMethodRequest.Builder clientCertificateId(String clientCertificateId)
A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.
clientCertificateId
- A ClientCertificate identifier to use in the test invocation. API Gateway will use the
certificate when making the HTTPS request to the defined back-end endpoint.TestInvokeMethodRequest.Builder stageVariables(Map<String,String> stageVariables)
A key-value map of stage variables to simulate an invocation on a deployed Stage.
stageVariables
- A key-value map of stage variables to simulate an invocation on a deployed Stage.TestInvokeMethodRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.TestInvokeMethodRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.