public class CreateAuthorizerRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates an authorizer.
Constructor and Description |
---|
CreateAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAuthorizerRequest |
addtokenSigningPublicKeysEntry(java.lang.String key,
java.lang.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(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.Boolean |
getSigningDisabled()
Specifies whether AWS IoT validates the token signature in an
authorization request.
|
java.lang.String |
getStatus()
The status of the create authorizer request.
|
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the custom authorizer.
|
java.lang.String |
getTokenKeyName()
The name of the token 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 digital 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 |
setAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
void |
setAuthorizerName(java.lang.String authorizerName)
The authorizer name.
|
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 create authorizer request.
|
void |
setStatus(java.lang.String status)
The status of the create authorizer request.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the custom authorizer.
|
void |
setTokenKeyName(java.lang.String tokenKeyName)
The name of the token 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 digital signature returned by your
custom authentication service.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAuthorizerRequest |
withAuthorizerFunctionArn(java.lang.String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
CreateAuthorizerRequest |
withAuthorizerName(java.lang.String authorizerName)
The authorizer name.
|
CreateAuthorizerRequest |
withSigningDisabled(java.lang.Boolean signingDisabled)
Specifies whether AWS IoT validates the token signature in an
authorization request.
|
CreateAuthorizerRequest |
withStatus(AuthorizerStatus status)
The status of the create authorizer request.
|
CreateAuthorizerRequest |
withStatus(java.lang.String status)
The status of the create authorizer request.
|
CreateAuthorizerRequest |
withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the custom authorizer.
|
CreateAuthorizerRequest |
withTags(Tag... tags)
Metadata which can be used to manage the custom authorizer.
|
CreateAuthorizerRequest |
withTokenKeyName(java.lang.String tokenKeyName)
The name of the token key used to extract the token from the HTTP
headers.
|
CreateAuthorizerRequest |
withTokenSigningPublicKeys(java.util.Map<java.lang.String,java.lang.String> tokenSigningPublicKeys)
The public keys used to verify the digital signature returned by your
custom authentication service.
|
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 CreateAuthorizerRequest 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 CreateAuthorizerRequest 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 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(java.lang.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(java.lang.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 java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.lang.String key, java.lang.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 java.lang.String getStatus()
The status of the create authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
The status of the create authorizer request.
AuthorizerStatus
public void setStatus(java.lang.String status)
The status of the create authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the create authorizer request.
AuthorizerStatus
public CreateAuthorizerRequest withStatus(java.lang.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.
AuthorizerStatus
public void setStatus(AuthorizerStatus status)
The status of the create authorizer request.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of the create authorizer request.
AuthorizerStatus
public 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.
AuthorizerStatus
public java.util.List<Tag> getTags()
Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public void setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateAuthorizerRequest withTags(Tag... tags)
Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateAuthorizerRequest withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the custom authorizer.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
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 CreateAuthorizerRequest 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.