public class CreateAuthorizerRequest extends AmazonWebServiceRequest implements Serializable
Creates an authorizer.
| Constructor and Description |
|---|
CreateAuthorizerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAuthorizerRequest |
addtokenSigningPublicKeysEntry(String key,
String value)
The public keys used to verify the digital signature returned by your
custom authentication service.
|
CreateAuthorizerRequest |
cleartokenSigningPublicKeysEntries()
Removes all the entries added into tokenSigningPublicKeys.
|
boolean |
equals(Object obj) |
String |
getAuthorizerFunctionArn()
The ARN of the authorizer's Lambda function.
|
String |
getAuthorizerName()
The authorizer name.
|
String |
getStatus()
The status of the create authorizer request.
|
String |
getTokenKeyName()
The name of the token key used to extract the token from the HTTP
headers.
|
Map<String,String> |
getTokenSigningPublicKeys()
The public keys used to verify the digital signature returned by your
custom authentication service.
|
int |
hashCode() |
void |
setAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
void |
setAuthorizerName(String authorizerName)
The authorizer name.
|
void |
setStatus(AuthorizerStatus status)
The status of the create authorizer request.
|
void |
setStatus(String status)
The status of the create authorizer request.
|
void |
setTokenKeyName(String tokenKeyName)
The name of the token key used to extract the token from the HTTP
headers.
|
void |
setTokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to verify the digital signature returned by your
custom authentication service.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAuthorizerRequest |
withAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
CreateAuthorizerRequest |
withAuthorizerName(String authorizerName)
The authorizer name.
|
CreateAuthorizerRequest |
withStatus(AuthorizerStatus status)
The status of the create authorizer request.
|
CreateAuthorizerRequest |
withStatus(String status)
The status of the create authorizer request.
|
CreateAuthorizerRequest |
withTokenKeyName(String tokenKeyName)
The name of the token key used to extract the token from the HTTP
headers.
|
CreateAuthorizerRequest |
withTokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to verify the digital signature returned by your
custom authentication service.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAuthorizerName()
The authorizer name.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The authorizer name.
public void setAuthorizerName(String authorizerName)
The authorizer name.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
authorizerName - The authorizer name.
public CreateAuthorizerRequest withAuthorizerName(String authorizerName)
The authorizer name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
authorizerName - The authorizer name.
public String getAuthorizerFunctionArn()
The ARN of the authorizer's Lambda function.
The ARN of the authorizer's Lambda function.
public void setAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
authorizerFunctionArn - The ARN of the authorizer's Lambda function.
public CreateAuthorizerRequest withAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
Returns a reference to this object so that method calls can be chained together.
authorizerFunctionArn - The ARN of the authorizer's Lambda function.
public String getTokenKeyName()
The name of the token key used to extract the token from the HTTP headers.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name of the token key used to extract the token from the HTTP headers.
public void setTokenKeyName(String tokenKeyName)
The name of the token key used to extract the token from the HTTP headers.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
tokenKeyName - The name of the token key used to extract the token from the HTTP headers.
public CreateAuthorizerRequest withTokenKeyName(String tokenKeyName)
The name of the token key used to extract the token from the HTTP headers.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
tokenKeyName - The name of the token key used to extract the token from the HTTP headers.
public Map<String,String> getTokenSigningPublicKeys()
The public keys used to verify the digital signature returned by your custom authentication service.
The public keys used to verify the digital signature returned by your custom authentication service.
public void setTokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to verify the digital signature returned by your custom authentication service.
tokenSigningPublicKeys - The public keys used to verify the digital signature returned by your custom authentication service.
public CreateAuthorizerRequest withTokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to verify the digital signature returned by your custom authentication service.
Returns a reference to this object so that method calls can be chained together.
tokenSigningPublicKeys - The public keys used to verify the digital signature returned by your custom authentication service.
public CreateAuthorizerRequest addtokenSigningPublicKeysEntry(String key, String value)
The public keys used to verify the digital signature returned by your custom authentication service.
The method adds a new key-value pair into tokenSigningPublicKeys parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into tokenSigningPublicKeys.value - The corresponding value of the entry to be added into
tokenSigningPublicKeys.public CreateAuthorizerRequest cleartokenSigningPublicKeysEntries()
Returns a reference to this object so that method calls can be chained together.
public String getStatus()
The status of the create authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
The status of the create authorizer request.
AuthorizerStatuspublic void setStatus(String status)
The status of the create authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status - The status of the create authorizer request.
AuthorizerStatuspublic CreateAuthorizerRequest withStatus(String status)
The status of the create authorizer request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status - The status of the create authorizer request.
AuthorizerStatuspublic void setStatus(AuthorizerStatus status)
The status of the create authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status - The status of the create authorizer request.
AuthorizerStatuspublic CreateAuthorizerRequest withStatus(AuthorizerStatus status)
The status of the create authorizer request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status - The status of the create authorizer request.
AuthorizerStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.