@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizerDescription extends Object implements Serializable, Cloneable, StructuredPojo
The authorizer description.
Constructor and Description |
---|
AuthorizerDescription() |
Modifier and Type | Method and Description |
---|---|
AuthorizerDescription |
addTokenSigningPublicKeysEntry(String key,
String value)
Add a single TokenSigningPublicKeys entry
|
AuthorizerDescription |
clearTokenSigningPublicKeysEntries()
Removes all the entries added into TokenSigningPublicKeys.
|
AuthorizerDescription |
clone() |
boolean |
equals(Object obj) |
String |
getAuthorizerArn()
The authorizer ARN.
|
String |
getAuthorizerFunctionArn()
The authorizer's Lambda function ARN.
|
String |
getAuthorizerName()
The authorizer name.
|
Date |
getCreationDate()
The UNIX timestamp of when the authorizer was created.
|
Date |
getLastModifiedDate()
The UNIX timestamp of when the authorizer was last updated.
|
Boolean |
getSigningDisabled()
Specifies whether IoT validates the token signature in an authorization request.
|
String |
getStatus()
The status of the authorizer.
|
String |
getTokenKeyName()
The key used to extract the token from the HTTP headers.
|
Map<String,String> |
getTokenSigningPublicKeys()
The public keys used to validate the token signature returned by your custom authentication service.
|
int |
hashCode() |
Boolean |
isSigningDisabled()
Specifies whether IoT validates the token signature in an authorization request.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthorizerArn(String authorizerArn)
The authorizer ARN.
|
void |
setAuthorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.
|
void |
setAuthorizerName(String authorizerName)
The authorizer name.
|
void |
setCreationDate(Date creationDate)
The UNIX timestamp of when the authorizer was created.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
|
void |
setSigningDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
|
void |
setStatus(String status)
The status of the authorizer.
|
void |
setTokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.
|
void |
setTokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizerDescription |
withAuthorizerArn(String authorizerArn)
The authorizer ARN.
|
AuthorizerDescription |
withAuthorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.
|
AuthorizerDescription |
withAuthorizerName(String authorizerName)
The authorizer name.
|
AuthorizerDescription |
withCreationDate(Date creationDate)
The UNIX timestamp of when the authorizer was created.
|
AuthorizerDescription |
withLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
|
AuthorizerDescription |
withSigningDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
|
AuthorizerDescription |
withStatus(AuthorizerStatus status)
The status of the authorizer.
|
AuthorizerDescription |
withStatus(String status)
The status of the authorizer.
|
AuthorizerDescription |
withTokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.
|
AuthorizerDescription |
withTokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.
|
public void setAuthorizerName(String authorizerName)
The authorizer name.
authorizerName
- The authorizer name.public String getAuthorizerName()
The authorizer name.
public AuthorizerDescription withAuthorizerName(String authorizerName)
The authorizer name.
authorizerName
- The authorizer name.public void setAuthorizerArn(String authorizerArn)
The authorizer ARN.
authorizerArn
- The authorizer ARN.public String getAuthorizerArn()
The authorizer ARN.
public AuthorizerDescription withAuthorizerArn(String authorizerArn)
The authorizer ARN.
authorizerArn
- The authorizer ARN.public void setAuthorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.
authorizerFunctionArn
- The authorizer's Lambda function ARN.public String getAuthorizerFunctionArn()
The authorizer's Lambda function ARN.
public AuthorizerDescription withAuthorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.
authorizerFunctionArn
- The authorizer's Lambda function ARN.public void setTokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.
tokenKeyName
- The key used to extract the token from the HTTP headers.public String getTokenKeyName()
The key used to extract the token from the HTTP headers.
public AuthorizerDescription withTokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.
tokenKeyName
- The key used to extract the token from the HTTP headers.public Map<String,String> getTokenSigningPublicKeys()
The public keys used to validate the token signature returned by your custom authentication service.
public void setTokenSigningPublicKeys(Map<String,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(Map<String,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 addTokenSigningPublicKeysEntry(String key, String value)
public AuthorizerDescription clearTokenSigningPublicKeysEntries()
public void setStatus(String status)
The status of the authorizer.
status
- The status of the authorizer.AuthorizerStatus
public String getStatus()
The status of the authorizer.
AuthorizerStatus
public AuthorizerDescription withStatus(String status)
The status of the authorizer.
status
- The status of the authorizer.AuthorizerStatus
public AuthorizerDescription withStatus(AuthorizerStatus status)
The status of the authorizer.
status
- The status of the authorizer.AuthorizerStatus
public void setCreationDate(Date creationDate)
The UNIX timestamp of when the authorizer was created.
creationDate
- The UNIX timestamp of when the authorizer was created.public Date getCreationDate()
The UNIX timestamp of when the authorizer was created.
public AuthorizerDescription withCreationDate(Date creationDate)
The UNIX timestamp of when the authorizer was created.
creationDate
- The UNIX timestamp of when the authorizer was created.public void setLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
lastModifiedDate
- The UNIX timestamp of when the authorizer was last updated.public Date getLastModifiedDate()
The UNIX timestamp of when the authorizer was last updated.
public AuthorizerDescription withLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
lastModifiedDate
- The UNIX timestamp of when the authorizer was last updated.public void setSigningDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
signingDisabled
- Specifies whether IoT validates the token signature in an authorization request.public Boolean getSigningDisabled()
Specifies whether IoT validates the token signature in an authorization request.
public AuthorizerDescription withSigningDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
signingDisabled
- Specifies whether IoT validates the token signature in an authorization request.public Boolean isSigningDisabled()
Specifies whether IoT validates the token signature in an authorization request.
public String toString()
toString
in class Object
Object.toString()
public AuthorizerDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.