CopyableBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
, SdkBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
public static interface TestInvokeAuthorizerRequest.Builder extends CopyableBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
Modifier and Type | Method | 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 |
restApiId(String restApiId) |
Specifies a test invoke authorizer request's RestApi identifier.
|
TestInvokeAuthorizerRequest.Builder |
stageVariables(Map<String,String> stageVariables) |
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
copy
apply, build
TestInvokeAuthorizerRequest.Builder restApiId(String restApiId)
Specifies a test invoke authorizer request's RestApi identifier.
restApiId
- Specifies a test invoke authorizer request's RestApi identifier.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.