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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
TestInvokeAuthorizerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
TestInvokeAuthorizerRequest.Builder |
pathWithQueryString(String pathWithQueryString)
[Optional] The URI path, including query string, of the simulated invocation request.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
TestInvokeAuthorizerRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.TestInvokeAuthorizerRequest.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.