public class TestInvokeAuthorizerRequest extends AmazonWebServiceRequest implements Serializable
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway.
| Constructor and Description |
|---|
TestInvokeAuthorizerRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthorizerName()
The custom authorizer name.
|
String |
getToken()
The token returned by your custom authentication service.
|
String |
getTokenSignature()
The signature made with the token and your custom authentication
service's private key.
|
int |
hashCode() |
void |
setAuthorizerName(String authorizerName)
The custom authorizer name.
|
void |
setToken(String token)
The token returned by your custom authentication service.
|
void |
setTokenSignature(String tokenSignature)
The signature made with the token and your custom authentication
service's private key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestInvokeAuthorizerRequest |
withAuthorizerName(String authorizerName)
The custom authorizer name.
|
TestInvokeAuthorizerRequest |
withToken(String token)
The token returned by your custom authentication service.
|
TestInvokeAuthorizerRequest |
withTokenSignature(String tokenSignature)
The signature made with the token and your custom authentication
service's private key.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAuthorizerName()
The custom authorizer name.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The custom authorizer name.
public void setAuthorizerName(String authorizerName)
The custom authorizer name.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
authorizerName - The custom authorizer name.
public TestInvokeAuthorizerRequest withAuthorizerName(String authorizerName)
The custom authorizer name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
authorizerName - The custom authorizer name.
public String getToken()
The token returned by your custom authentication service.
Constraints:
Length: 1 - 6144
The token returned by your custom authentication service.
public void setToken(String token)
The token returned by your custom authentication service.
Constraints:
Length: 1 - 6144
token - The token returned by your custom authentication service.
public TestInvokeAuthorizerRequest withToken(String token)
The token returned by your custom authentication service.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
token - The token returned by your custom authentication service.
public String getTokenSignature()
The signature made with the token and your custom authentication service's private key.
Constraints:
Length: 1 - 2560
Pattern: [A-Za-z0-9+/]+={0,2}
The signature made with the token and your custom authentication service's private key.
public void setTokenSignature(String tokenSignature)
The signature made with the token and your custom authentication service's private key.
Constraints:
Length: 1 - 2560
Pattern: [A-Za-z0-9+/]+={0,2}
tokenSignature - The signature made with the token and your custom authentication service's private key.
public TestInvokeAuthorizerRequest withTokenSignature(String tokenSignature)
The signature made with the token and your custom authentication service's private key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2560
Pattern: [A-Za-z0-9+/]+={0,2}
tokenSignature - The signature made with the token and your custom authentication service's private key.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.