Cloneable
, ReadLimitInfo
, ToCopyableBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
@Generated("software.amazon.awssdk:codegen") public class TestInvokeAuthorizerRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
Make a request to simulate the execution of an Authorizer.
Modifier and Type | Class | Description |
---|---|---|
static interface |
TestInvokeAuthorizerRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
additionalContext() |
[Optional] A key-value map of additional context variables.
|
String |
authorizerId() |
Specifies a test invoke authorizer request's Authorizer ID.
|
String |
body() |
[Optional] The simulated request body of an incoming invocation request.
|
static TestInvokeAuthorizerRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Map<String,String> |
headers() |
[Required] A key-value map of headers to simulate an incoming invocation request.
|
String |
pathWithQueryString() |
[Optional] The URI path, including query string, of the simulated invocation request.
|
String |
restApiId() |
Specifies a test invoke authorizer request's RestApi identifier.
|
static Class<? extends TestInvokeAuthorizerRequest.Builder> |
serializableBuilderClass() |
|
Map<String,String> |
stageVariables() |
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
TestInvokeAuthorizerRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String restApiId()
Specifies a test invoke authorizer request's RestApi identifier.
public String authorizerId()
Specifies a test invoke authorizer request's Authorizer ID.
public 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.
public String pathWithQueryString()
[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
public String body()
[Optional] The simulated request body of an incoming invocation request.
public Map<String,String> stageVariables()
A key-value map of stage variables to simulate an invocation on a deployed Stage.
public Map<String,String> additionalContext()
[Optional] A key-value map of additional context variables.
public TestInvokeAuthorizerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TestInvokeAuthorizerRequest.Builder,TestInvokeAuthorizerRequest>
public static TestInvokeAuthorizerRequest.Builder builder()
public static Class<? extends TestInvokeAuthorizerRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.