Interface AuthorizerDescription.Builder

    • Method Detail

      • authorizerName

        AuthorizerDescription.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.
      • authorizerArn

        AuthorizerDescription.Builder authorizerArn​(String authorizerArn)

        The authorizer ARN.

        Parameters:
        authorizerArn - The authorizer ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizerFunctionArn

        AuthorizerDescription.Builder authorizerFunctionArn​(String authorizerFunctionArn)

        The authorizer's Lambda function ARN.

        Parameters:
        authorizerFunctionArn - The authorizer's Lambda function ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenKeyName

        AuthorizerDescription.Builder tokenKeyName​(String tokenKeyName)

        The key used to extract the token from the HTTP headers.

        Parameters:
        tokenKeyName - The 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

        AuthorizerDescription.Builder tokenSigningPublicKeys​(Map<String,​String> tokenSigningPublicKeys)

        The public keys used to validate the token signature returned by your custom authentication service.

        Parameters:
        tokenSigningPublicKeys - The public keys used to validate the token signature returned by your custom authentication service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        AuthorizerDescription.Builder creationDate​(Instant creationDate)

        The UNIX timestamp of when the authorizer was created.

        Parameters:
        creationDate - The UNIX timestamp of when the authorizer was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        AuthorizerDescription.Builder lastModifiedDate​(Instant lastModifiedDate)

        The UNIX timestamp of when the authorizer was last updated.

        Parameters:
        lastModifiedDate - The UNIX timestamp of when the authorizer was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • signingDisabled

        AuthorizerDescription.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

        AuthorizerDescription.Builder enableCachingForHttp​(Boolean enableCachingForHttp)

        When true, the result from the authorizer’s Lambda function is cached for the time specified in refreshAfterInSeconds. The cached result is used while the device reuses the same HTTP connection.

        Parameters:
        enableCachingForHttp - When true, the result from the authorizer’s Lambda function is cached for the time specified in refreshAfterInSeconds. The cached result is used while the device reuses the same HTTP connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.