Interface CreateAuthorizerRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateAuthorizerRequest.Builder,CreateAuthorizerRequest>, IotRequest.Builder, SdkBuilder<CreateAuthorizerRequest.Builder,CreateAuthorizerRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateAuthorizerRequest

public static interface CreateAuthorizerRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateAuthorizerRequest.Builder,CreateAuthorizerRequest>
  • Method Details

    • authorizerName

      CreateAuthorizerRequest.Builder authorizerName(String 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

      CreateAuthorizerRequest.Builder authorizerFunctionArn(String 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

      CreateAuthorizerRequest.Builder tokenKeyName(String 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

      CreateAuthorizerRequest.Builder tokenSigningPublicKeys(Map<String,String> 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..."

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • signingDisabled

      CreateAuthorizerRequest.Builder signingDisabled(Boolean 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

      CreateAuthorizerRequest.Builder enableCachingForHttp(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.

      Parameters:
      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.

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.