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)
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) |
TestInvokeMethodRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
TestInvokeMethodRequest.Builder |
pathWithQueryString(String pathWithQueryString)
The URI path, including query string, of the simulated invocation request.
|
TestInvokeMethodRequest.Builder |
resourceId(String resourceId)
Specifies a test invoke method request's resource ID.
|
TestInvokeMethodRequest.Builder |
restApiId(String restApiId)
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTestInvokeMethodRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.TestInvokeMethodRequest.Builder resourceId(String resourceId)
Specifies a test invoke method request's resource ID.
resourceId - Specifies a test invoke method request's resource ID.TestInvokeMethodRequest.Builder httpMethod(String httpMethod)
Specifies a test invoke method request's HTTP method.
httpMethod - 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)
overrideConfiguration in interface AwsRequest.BuilderTestInvokeMethodRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.