public static interface TestInvokeAuthorizerRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
| Modifier and Type | Method and Description |
|---|---|
TestInvokeAuthorizerRequest.Builder |
additionalContext(Map<String,String> additionalContext)
[Optional] A key-value map of additional context variables.
|
TestInvokeAuthorizerRequest.Builder |
authorizerId(String authorizerId)
Specifies a test invoke authorizer request's Authorizer ID.
|
TestInvokeAuthorizerRequest.Builder |
body(String body)
[Optional] The simulated request body of an incoming invocation request.
|
TestInvokeAuthorizerRequest.Builder |
headers(Map<String,String> headers)
[Required] A key-value map of headers to simulate an incoming invocation request.
|
TestInvokeAuthorizerRequest.Builder |
pathWithQueryString(String pathWithQueryString)
[Optional] The URI path, including query string, of the simulated invocation request.
|
TestInvokeAuthorizerRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
TestInvokeAuthorizerRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
TestInvokeAuthorizerRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
TestInvokeAuthorizerRequest.Builder |
stageVariables(Map<String,String> stageVariables)
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
buildrequestOverrideConfigcopyapply, buildTestInvokeAuthorizerRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.TestInvokeAuthorizerRequest.Builder authorizerId(String authorizerId)
Specifies a test invoke authorizer request's Authorizer ID.
authorizerId - Specifies a test invoke authorizer request's Authorizer ID.TestInvokeAuthorizerRequest.Builder headers(Map<String,String> headers)
[Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.
headers - [Required] A key-value map of headers to simulate an incoming invocation request. This is where the
incoming authorization token, or identity source, should be specified.TestInvokeAuthorizerRequest.Builder pathWithQueryString(String pathWithQueryString)
[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
pathWithQueryString - [Optional] The URI path, including query string, of the simulated invocation request. Use this to
specify path parameters and query string parameters.TestInvokeAuthorizerRequest.Builder body(String body)
[Optional] The simulated request body of an incoming invocation request.
body - [Optional] The simulated request body of an incoming invocation request.TestInvokeAuthorizerRequest.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.TestInvokeAuthorizerRequest.Builder additionalContext(Map<String,String> additionalContext)
[Optional] A key-value map of additional context variables.
additionalContext - [Optional] A key-value map of additional context variables.TestInvokeAuthorizerRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.TestInvokeAuthorizerRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.