public class UpdateAuthorizerRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates an authorizer.
Constructor and Description |
---|
UpdateAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAuthorizerRequest |
addtokenSigningPublicKeysEntry(java.lang.String key,
java.lang.String value)
The public keys used to verify the token signature.
|
UpdateAuthorizerRequest |
cleartokenSigningPublicKeysEntries()
Removes all the entries added into tokenSigningPublicKeys.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthorizerFunctionArn()
The ARN of the authorizer's Lambda function.
|
java.lang.String |
getAuthorizerName()
The authorizer name.
|
java.lang.String |
getStatus()
The status of the update authorizer request.
|
java.lang.String |
getTokenKeyName()
The key used to extract the token from the HTTP headers.
|
java.util.Map<java.lang.String,java.lang.String> |
getTokenSigningPublicKeys()
The public keys used to verify the token signature.
|
int |
hashCode() |
void |
setAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
void |
setAuthorizerName(java.lang.String authorizerName)
The authorizer name.
|
void |
setStatus(AuthorizerStatus status)
The status of the update authorizer request.
|
void |
setStatus(java.lang.String status)
The status of the update authorizer request.
|
void |
setTokenKeyName(java.lang.String tokenKeyName)
The key used to extract the token from the HTTP headers.
|
void |
setTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to verify the token signature.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAuthorizerRequest |
withAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
UpdateAuthorizerRequest |
withAuthorizerName(java.lang.String authorizerName)
The authorizer name.
|
UpdateAuthorizerRequest |
withStatus(AuthorizerStatus status)
The status of the update authorizer request.
|
UpdateAuthorizerRequest |
withStatus(java.lang.String status)
The status of the update authorizer request.
|
UpdateAuthorizerRequest |
withTokenKeyName(java.lang.String tokenKeyName)
The key used to extract the token from the HTTP headers.
|
UpdateAuthorizerRequest |
withTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to verify the token signature.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAuthorizerName()
The authorizer name.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The authorizer name.
public void setAuthorizerName(java.lang.String authorizerName)
The authorizer name.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
authorizerName
- The authorizer name.
public UpdateAuthorizerRequest withAuthorizerName(java.lang.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 java.lang.String getAuthorizerFunctionArn()
The ARN of the authorizer's Lambda function.
Constraints:
Length: - 2048
The ARN of the authorizer's Lambda function.
public void setAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
Constraints:
Length: - 2048
authorizerFunctionArn
- The ARN of the authorizer's Lambda function.
public UpdateAuthorizerRequest withAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
authorizerFunctionArn
- The ARN of the authorizer's Lambda function.
public java.lang.String getTokenKeyName()
The key used to extract the token from the HTTP headers.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The key used to extract the token from the HTTP headers.
public void setTokenKeyName(java.lang.String tokenKeyName)
The key used to extract the token from the HTTP headers.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
tokenKeyName
- The key used to extract the token from the HTTP headers.
public UpdateAuthorizerRequest withTokenKeyName(java.lang.String tokenKeyName)
The 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 key used to extract the token from the HTTP headers.
public java.util.Map<java.lang.String,java.lang.String> getTokenSigningPublicKeys()
The public keys used to verify the token signature.
The public keys used to verify the token signature.
public void setTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to verify the token signature.
tokenSigningPublicKeys
- The public keys used to verify the token signature.
public UpdateAuthorizerRequest withTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to verify the token signature.
Returns a reference to this object so that method calls can be chained together.
tokenSigningPublicKeys
- The public keys used to verify the token signature.
public UpdateAuthorizerRequest addtokenSigningPublicKeysEntry(java.lang.String key, java.lang.String value)
The public keys used to verify the token signature.
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 UpdateAuthorizerRequest cleartokenSigningPublicKeysEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getStatus()
The status of the update authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
The status of the update authorizer request.
AuthorizerStatus
public void setStatus(java.lang.String status)
The status of the update authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the update authorizer request.
AuthorizerStatus
public UpdateAuthorizerRequest withStatus(java.lang.String status)
The status of the update 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 update authorizer request.
AuthorizerStatus
public void setStatus(AuthorizerStatus status)
The status of the update authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the update authorizer request.
AuthorizerStatus
public UpdateAuthorizerRequest withStatus(AuthorizerStatus status)
The status of the update 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 update authorizer request.
AuthorizerStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.