@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestInvokeAuthorizerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Make a request to simulate the invocation of an Authorizer.
NOOP
Constructor and Description |
---|
TestInvokeAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
TestInvokeAuthorizerRequest |
addAdditionalContextEntry(String key,
String value)
Add a single AdditionalContext entry
|
TestInvokeAuthorizerRequest |
addHeadersEntry(String key,
String value)
Add a single Headers entry
|
TestInvokeAuthorizerRequest |
addMultiValueHeadersEntry(String key,
List<String> value)
Add a single MultiValueHeaders entry
|
TestInvokeAuthorizerRequest |
addStageVariablesEntry(String key,
String value)
Add a single StageVariables entry
|
TestInvokeAuthorizerRequest |
clearAdditionalContextEntries()
Removes all the entries added into AdditionalContext.
|
TestInvokeAuthorizerRequest |
clearHeadersEntries()
Removes all the entries added into Headers.
|
TestInvokeAuthorizerRequest |
clearMultiValueHeadersEntries()
Removes all the entries added into MultiValueHeaders.
|
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()
A key-value map of additional context variables.
|
String |
getAuthorizerId()
Specifies a test invoke authorizer request's Authorizer ID.
|
String |
getBody()
The simulated request body of an incoming invocation request.
|
Map<String,String> |
getHeaders()
A key-value map of headers to simulate an incoming invocation request.
|
Map<String,List<String>> |
getMultiValueHeaders()
The headers as a map from string to list of values to simulate an incoming invocation request.
|
String |
getPathWithQueryString()
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)
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)
The simulated request body of an incoming invocation request.
|
void |
setHeaders(Map<String,String> headers)
A key-value map of headers to simulate an incoming invocation request.
|
void |
setMultiValueHeaders(Map<String,List<String>> multiValueHeaders)
The headers as a map from string to list of values to simulate an incoming invocation request.
|
void |
setPathWithQueryString(String pathWithQueryString)
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.
|
TestInvokeAuthorizerRequest |
withAdditionalContext(Map<String,String> additionalContext)
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)
The simulated request body of an incoming invocation request.
|
TestInvokeAuthorizerRequest |
withHeaders(Map<String,String> headers)
A key-value map of headers to simulate an incoming invocation request.
|
TestInvokeAuthorizerRequest |
withMultiValueHeaders(Map<String,List<String>> multiValueHeaders)
The headers as a map from string to list of values to simulate an incoming invocation request.
|
TestInvokeAuthorizerRequest |
withPathWithQueryString(String pathWithQueryString)
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()
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)
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
- 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)
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
- 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 Map<String,List<String>> getMultiValueHeaders()
The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.
public void setMultiValueHeaders(Map<String,List<String>> multiValueHeaders)
The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.
multiValueHeaders
- The headers as a map from string to list of values to simulate an incoming invocation request. This is
where the incoming authorization token, or identity source, may be specified.public TestInvokeAuthorizerRequest withMultiValueHeaders(Map<String,List<String>> multiValueHeaders)
The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.
multiValueHeaders
- The headers as a map from string to list of values to simulate an incoming invocation request. This is
where the incoming authorization token, or identity source, may be specified.public TestInvokeAuthorizerRequest addMultiValueHeadersEntry(String key, List<String> value)
public TestInvokeAuthorizerRequest clearMultiValueHeadersEntries()
public void setPathWithQueryString(String pathWithQueryString)
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
pathWithQueryString
- The URI path, including query string, of the simulated invocation request. Use this to specify path
parameters and query string parameters.public String getPathWithQueryString()
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)
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
pathWithQueryString
- 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)
The simulated request body of an incoming invocation request.
body
- The simulated request body of an incoming invocation request.public String getBody()
The simulated request body of an incoming invocation request.
public TestInvokeAuthorizerRequest withBody(String body)
The simulated request body of an incoming invocation request.
body
- 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()
A key-value map of additional context variables.
public void setAdditionalContext(Map<String,String> additionalContext)
A key-value map of additional context variables.
additionalContext
- A key-value map of additional context variables.public TestInvokeAuthorizerRequest withAdditionalContext(Map<String,String> additionalContext)
A key-value map of additional context variables.
additionalContext
- 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()