@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAuthorizerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAuthorizerRequest |
addTokenSigningPublicKeysEntry(String key,
String value)
Add a single TokenSigningPublicKeys entry
|
CreateAuthorizerRequest |
clearTokenSigningPublicKeysEntries()
Removes all the entries added into TokenSigningPublicKeys.
|
CreateAuthorizerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthorizerFunctionArn()
The ARN of the authorizer's Lambda function.
|
String |
getAuthorizerName()
The authorizer name.
|
Boolean |
getEnableCachingForHttp()
When
true , the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. |
Boolean |
getSigningDisabled()
Specifies whether IoT validates the token signature in an authorization request.
|
String |
getStatus()
The status of the create authorizer request.
|
List<Tag> |
getTags()
Metadata which can be used to manage the custom authorizer.
|
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() |
Boolean |
isEnableCachingForHttp()
When
true , the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. |
Boolean |
isSigningDisabled()
Specifies whether IoT validates the token signature in an authorization request.
|
void |
setAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
void |
setAuthorizerName(String authorizerName)
The authorizer name.
|
void |
setEnableCachingForHttp(Boolean enableCachingForHttp)
When
true , the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. |
void |
setSigningDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
|
void |
setStatus(String status)
The status of the create authorizer request.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the custom authorizer.
|
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.
|
CreateAuthorizerRequest |
withAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
|
CreateAuthorizerRequest |
withAuthorizerName(String authorizerName)
The authorizer name.
|
CreateAuthorizerRequest |
withEnableCachingForHttp(Boolean enableCachingForHttp)
When
true , the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. |
CreateAuthorizerRequest |
withSigningDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
|
CreateAuthorizerRequest |
withStatus(AuthorizerStatus status)
The status of the create authorizer request.
|
CreateAuthorizerRequest |
withStatus(String status)
The status of the create authorizer request.
|
CreateAuthorizerRequest |
withTags(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(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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAuthorizerName(String authorizerName)
The authorizer name.
authorizerName
- The authorizer name.public String getAuthorizerName()
The authorizer name.
public CreateAuthorizerRequest withAuthorizerName(String authorizerName)
The authorizer name.
authorizerName
- The authorizer name.public void setAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
authorizerFunctionArn
- The ARN of the authorizer's Lambda function.public String getAuthorizerFunctionArn()
The ARN of the authorizer's Lambda function.
public CreateAuthorizerRequest withAuthorizerFunctionArn(String authorizerFunctionArn)
The ARN of the authorizer's Lambda function.
authorizerFunctionArn
- The ARN of the authorizer's Lambda function.public void setTokenKeyName(String tokenKeyName)
The name of the token key used to extract the token from the HTTP headers.
tokenKeyName
- The name of the token key used to extract the token from the HTTP headers.public String getTokenKeyName()
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.
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.
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.
tokenSigningPublicKeys
- The public keys used to verify the digital signature returned by your custom authentication service.public CreateAuthorizerRequest addTokenSigningPublicKeysEntry(String key, String value)
public CreateAuthorizerRequest clearTokenSigningPublicKeysEntries()
public void setStatus(String status)
The status of the create authorizer request.
status
- The status of the create authorizer request.AuthorizerStatus
public String getStatus()
The status of the create authorizer request.
AuthorizerStatus
public CreateAuthorizerRequest withStatus(String status)
The status of the create authorizer request.
status
- The status of the create authorizer request.AuthorizerStatus
public CreateAuthorizerRequest withStatus(AuthorizerStatus status)
The status of the create authorizer request.
status
- The status of the create authorizer request.AuthorizerStatus
public 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..."
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(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..."
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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(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 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 CreateAuthorizerRequest 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 void setEnableCachingForHttp(Boolean enableCachingForHttp)
When true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
enableCachingForHttp
- When true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
public Boolean getEnableCachingForHttp()
When true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
public CreateAuthorizerRequest withEnableCachingForHttp(Boolean enableCachingForHttp)
When true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
enableCachingForHttp
- When true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
public Boolean isEnableCachingForHttp()
When true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
true
, the result from the authorizer’s Lambda function is cached for clients that use
persistent HTTP connections. The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT
connections.
The default value is false
.
public String toString()
toString
in class Object
Object.toString()
public CreateAuthorizerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()