Interface CreateAuthorizerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAuthorizerRequest.Builder,
,CreateAuthorizerRequest> IotRequest.Builder
,SdkBuilder<CreateAuthorizerRequest.Builder,
,CreateAuthorizerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAuthorizerRequest
-
Method Summary
Modifier and TypeMethodDescriptionauthorizerFunctionArn
(String authorizerFunctionArn) The ARN of the authorizer's Lambda function.authorizerName
(String authorizerName) The authorizer name.enableCachingForHttp
(Boolean enableCachingForHttp) Whentrue
, the result from the authorizer’s Lambda function is cached for clients that use persistent HTTP connections.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.signingDisabled
(Boolean signingDisabled) Specifies whether IoT validates the token signature in an authorization request.The status of the create authorizer request.status
(AuthorizerStatus status) The status of the create authorizer request.tags
(Collection<Tag> tags) Metadata which can be used to manage the custom authorizer.tags
(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the custom authorizer.Metadata which can be used to manage the custom authorizer.tokenKeyName
(String tokenKeyName) The name of the token key used to extract the token from the HTTP headers.tokenSigningPublicKeys
(Map<String, String> tokenSigningPublicKeys) The public keys used to verify the digital signature returned by your custom authentication service.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authorizerName
The authorizer name.
- Parameters:
authorizerName
- The authorizer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerFunctionArn
The ARN of the authorizer's Lambda function.
- Parameters:
authorizerFunctionArn
- The ARN of the authorizer's Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenKeyName
The name of the token key used to extract the token from the HTTP headers.
- Parameters:
tokenKeyName
- The name of the token key used to extract the token from the HTTP headers.- Returns:
- 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.
- Parameters:
tokenSigningPublicKeys
- The public keys used to verify the digital signature returned by your custom authentication service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the create authorizer request.
- Parameters:
status
- The status of the create authorizer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the create authorizer request.
- Parameters:
status
- The status of the create authorizer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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..."
- Parameters:
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:
- 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..."
- Parameters:
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:
- 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..."
Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signingDisabled
Specifies whether IoT validates the token signature in an authorization request.
- Parameters:
signingDisabled
- Specifies whether IoT validates the token signature in an authorization request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 inrefreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT connections.The default value is
false
.- Parameters:
enableCachingForHttp
- Whentrue
, 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 inrefreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT connections.The default value is
false
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAuthorizerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAuthorizerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-