@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestInvokeAuthorizerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Make a request to simulate the execution of an Authorizer.
NOOP
Constructor and Description |
---|
TestInvokeAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
TestInvokeAuthorizerRequest |
addAdditionalContextEntry(String key,
String value) |
TestInvokeAuthorizerRequest |
addHeadersEntry(String key,
String value) |
TestInvokeAuthorizerRequest |
addStageVariablesEntry(String key,
String value) |
TestInvokeAuthorizerRequest |
clearAdditionalContextEntries()
Removes all the entries added into AdditionalContext.
|
TestInvokeAuthorizerRequest |
clearHeadersEntries()
Removes all the entries added into Headers.
|
TestInvokeAuthorizerRequest |
clearStageVariablesEntries()
Removes all the entries added into StageVariables.
|
TestInvokeAuthorizerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalContext()
[Optional] A key-value map of additional context variables.
|
String |
getAuthorizerId()
Specifies a test invoke authorizer request's Authorizer ID.
|
String |
getBody()
[Optional] The simulated request body of an incoming invocation request.
|
Map<String,String> |
getHeaders()
[Required] A key-value map of headers to simulate an incoming invocation request.
|
String |
getPathWithQueryString()
[Optional] The URI path, including query string, of the simulated invocation request.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
Map<String,String> |
getStageVariables()
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
int |
hashCode() |
void |
setAdditionalContext(Map<String,String> additionalContext)
[Optional] A key-value map of additional context variables.
|
void |
setAuthorizerId(String authorizerId)
Specifies a test invoke authorizer request's Authorizer ID.
|
void |
setBody(String body)
[Optional] The simulated request body of an incoming invocation request.
|
void |
setHeaders(Map<String,String> headers)
[Required] A key-value map of headers to simulate an incoming invocation request.
|
void |
setPathWithQueryString(String pathWithQueryString)
[Optional] The URI path, including query string, of the simulated invocation request.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
void |
setStageVariables(Map<String,String> stageVariables)
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TestInvokeAuthorizerRequest |
withAdditionalContext(Map<String,String> additionalContext)
[Optional] A key-value map of additional context variables.
|
TestInvokeAuthorizerRequest |
withAuthorizerId(String authorizerId)
Specifies a test invoke authorizer request's Authorizer ID.
|
TestInvokeAuthorizerRequest |
withBody(String body)
[Optional] The simulated request body of an incoming invocation request.
|
TestInvokeAuthorizerRequest |
withHeaders(Map<String,String> headers)
[Required] A key-value map of headers to simulate an incoming invocation request.
|
TestInvokeAuthorizerRequest |
withPathWithQueryString(String pathWithQueryString)
[Optional] The URI path, including query string, of the simulated invocation request.
|
TestInvokeAuthorizerRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
TestInvokeAuthorizerRequest |
withStageVariables(Map<String,String> stageVariables)
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public TestInvokeAuthorizerRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setAuthorizerId(String authorizerId)
Specifies a test invoke authorizer request's Authorizer ID.
authorizerId
- Specifies a test invoke authorizer request's Authorizer ID.public String getAuthorizerId()
Specifies a test invoke authorizer request's Authorizer ID.
public TestInvokeAuthorizerRequest withAuthorizerId(String authorizerId)
Specifies a test invoke authorizer request's Authorizer ID.
authorizerId
- Specifies a test invoke authorizer request's Authorizer ID.public Map<String,String> getHeaders()
[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 void setHeaders(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.public TestInvokeAuthorizerRequest withHeaders(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.public TestInvokeAuthorizerRequest addHeadersEntry(String key, String value)
public TestInvokeAuthorizerRequest clearHeadersEntries()
public void setPathWithQueryString(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.public String getPathWithQueryString()
[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
public TestInvokeAuthorizerRequest withPathWithQueryString(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.public void setBody(String body)
[Optional] The simulated request body of an incoming invocation request.
body
- [Optional] The simulated request body of an incoming invocation request.public String getBody()
[Optional] The simulated request body of an incoming invocation request.
public TestInvokeAuthorizerRequest withBody(String body)
[Optional] The simulated request body of an incoming invocation request.
body
- [Optional] The simulated request body of an incoming invocation request.public Map<String,String> getStageVariables()
A key-value map of stage variables to simulate an invocation on a deployed Stage.
public void setStageVariables(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.public TestInvokeAuthorizerRequest withStageVariables(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.public TestInvokeAuthorizerRequest addStageVariablesEntry(String key, String value)
public TestInvokeAuthorizerRequest clearStageVariablesEntries()
public Map<String,String> getAdditionalContext()
[Optional] A key-value map of additional context variables.
public void setAdditionalContext(Map<String,String> additionalContext)
[Optional] A key-value map of additional context variables.
additionalContext
- [Optional] A key-value map of additional context variables.public TestInvokeAuthorizerRequest withAdditionalContext(Map<String,String> additionalContext)
[Optional] A key-value map of additional context variables.
additionalContext
- [Optional] A key-value map of additional context variables.public TestInvokeAuthorizerRequest addAdditionalContextEntry(String key, String value)
public TestInvokeAuthorizerRequest clearAdditionalContextEntries()
public String toString()
toString
in class Object
Object.toString()
public TestInvokeAuthorizerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.