Interface UpdateAuthorizerRequest.Builder

    • Method Detail

      • authorizerName

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

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

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

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

        The public keys used to verify the token signature.

        Parameters:
        tokenSigningPublicKeys - The public keys used to verify the token signature.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableCachingForHttp

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