public class AuthorizerDescription
extends java.lang.Object
implements java.io.Serializable
The authorizer description.
Constructor and Description |
---|
AuthorizerDescription() |
Modifier and Type | Method and Description |
---|---|
AuthorizerDescription |
addtokenSigningPublicKeysEntry(java.lang.String key,
java.lang.String value)
The public keys used to validate the token signature returned by your
custom authentication service.
|
AuthorizerDescription |
cleartokenSigningPublicKeysEntries()
Removes all the entries added into tokenSigningPublicKeys.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthorizerArn()
The authorizer ARN.
|
java.lang.String |
getAuthorizerFunctionArn()
The authorizer's Lambda function ARN.
|
java.lang.String |
getAuthorizerName()
The authorizer name.
|
java.util.Date |
getCreationDate()
The UNIX timestamp of when the authorizer was created.
|
java.util.Date |
getLastModifiedDate()
The UNIX timestamp of when the authorizer was last updated.
|
java.lang.Boolean |
getSigningDisabled()
Specifies whether AWS IoT validates the token signature in an
authorization request.
|
java.lang.String |
getStatus()
The status of the authorizer.
|
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 validate the token signature returned by your
custom authentication service.
|
int |
hashCode() |
java.lang.Boolean |
isSigningDisabled()
Specifies whether AWS IoT validates the token signature in an
authorization request.
|
void |
setAuthorizerArn(java.lang.String authorizerArn)
The authorizer ARN.
|
void |
setAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The authorizer's Lambda function ARN.
|
void |
setAuthorizerName(java.lang.String authorizerName)
The authorizer name.
|
void |
setCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the authorizer was created.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
|
void |
setSigningDisabled(java.lang.Boolean signingDisabled)
Specifies whether AWS IoT validates the token signature in an
authorization request.
|
void |
setStatus(AuthorizerStatus status)
The status of the authorizer.
|
void |
setStatus(java.lang.String status)
The status of the authorizer.
|
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 validate the token signature returned by your
custom authentication service.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuthorizerDescription |
withAuthorizerArn(java.lang.String authorizerArn)
The authorizer ARN.
|
AuthorizerDescription |
withAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The authorizer's Lambda function ARN.
|
AuthorizerDescription |
withAuthorizerName(java.lang.String authorizerName)
The authorizer name.
|
AuthorizerDescription |
withCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the authorizer was created.
|
AuthorizerDescription |
withLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
|
AuthorizerDescription |
withSigningDisabled(java.lang.Boolean signingDisabled)
Specifies whether AWS IoT validates the token signature in an
authorization request.
|
AuthorizerDescription |
withStatus(AuthorizerStatus status)
The status of the authorizer.
|
AuthorizerDescription |
withStatus(java.lang.String status)
The status of the authorizer.
|
AuthorizerDescription |
withTokenKeyName(java.lang.String tokenKeyName)
The key used to extract the token from the HTTP headers.
|
AuthorizerDescription |
withTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your
custom authentication service.
|
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 AuthorizerDescription 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 getAuthorizerArn()
The authorizer ARN.
Constraints:
Length: - 2048
The authorizer ARN.
public void setAuthorizerArn(java.lang.String authorizerArn)
The authorizer ARN.
Constraints:
Length: - 2048
authorizerArn
- The authorizer ARN.
public AuthorizerDescription withAuthorizerArn(java.lang.String authorizerArn)
The authorizer ARN.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
authorizerArn
- The authorizer ARN.
public java.lang.String getAuthorizerFunctionArn()
The authorizer's Lambda function ARN.
Constraints:
Length: - 2048
The authorizer's Lambda function ARN.
public void setAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The authorizer's Lambda function ARN.
Constraints:
Length: - 2048
authorizerFunctionArn
- The authorizer's Lambda function ARN.
public AuthorizerDescription withAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The authorizer's Lambda function ARN.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
authorizerFunctionArn
- The authorizer's Lambda function ARN.
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 AuthorizerDescription 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 validate the token signature returned by your custom authentication service.
The public keys used to validate the token signature returned by your custom authentication service.
public void setTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.
tokenSigningPublicKeys
- The public keys used to validate the token signature returned by your custom authentication service.
public AuthorizerDescription withTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to validate the token 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 validate the token signature returned by your custom authentication service.
public AuthorizerDescription addtokenSigningPublicKeysEntry(java.lang.String key, java.lang.String value)
The public keys used to validate the token 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 AuthorizerDescription cleartokenSigningPublicKeysEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getStatus()
The status of the authorizer.
Constraints:
Allowed Values: ACTIVE, INACTIVE
The status of the authorizer.
AuthorizerStatus
public void setStatus(java.lang.String status)
The status of the authorizer.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the authorizer.
AuthorizerStatus
public AuthorizerDescription withStatus(java.lang.String status)
The status of the authorizer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the authorizer.
AuthorizerStatus
public void setStatus(AuthorizerStatus status)
The status of the authorizer.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the authorizer.
AuthorizerStatus
public AuthorizerDescription withStatus(AuthorizerStatus status)
The status of the authorizer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the authorizer.
AuthorizerStatus
public java.util.Date getCreationDate()
The UNIX timestamp of when the authorizer was created.
The UNIX timestamp of when the authorizer was created.
public void setCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the authorizer was created.
creationDate
- The UNIX timestamp of when the authorizer was created.
public AuthorizerDescription withCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the authorizer was created.
Returns a reference to this object so that method calls can be chained together.
creationDate
- The UNIX timestamp of when the authorizer was created.
public java.util.Date getLastModifiedDate()
The UNIX timestamp of when the authorizer was last updated.
The UNIX timestamp of when the authorizer was last updated.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
lastModifiedDate
- The UNIX timestamp of when the authorizer was last updated.
public AuthorizerDescription withLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The UNIX timestamp of when the authorizer was last updated.
public java.lang.Boolean isSigningDisabled()
Specifies whether AWS IoT validates the token signature in an authorization request.
Specifies whether AWS IoT validates the token signature in an authorization request.
public java.lang.Boolean getSigningDisabled()
Specifies whether AWS IoT validates the token signature in an authorization request.
Specifies whether AWS IoT validates the token signature in an authorization request.
public void setSigningDisabled(java.lang.Boolean signingDisabled)
Specifies whether AWS IoT validates the token signature in an authorization request.
signingDisabled
- Specifies whether AWS IoT validates the token signature in an authorization request.
public AuthorizerDescription withSigningDisabled(java.lang.Boolean signingDisabled)
Specifies whether AWS IoT validates the token signature in an authorization request.
Returns a reference to this object so that method calls can be chained together.
signingDisabled
- Specifies whether AWS IoT validates the token signature in an authorization request.
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.