Interface TestInvokeAuthorizerResponse.Builder

    • Method Detail

      • isAuthenticated

        TestInvokeAuthorizerResponse.Builder isAuthenticated​(Boolean isAuthenticated)

        True if the token is authenticated, otherwise false.

        Parameters:
        isAuthenticated - True if the token is authenticated, otherwise false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalId

        TestInvokeAuthorizerResponse.Builder principalId​(String principalId)

        The principal ID.

        Parameters:
        principalId - The principal ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocuments

        TestInvokeAuthorizerResponse.Builder policyDocuments​(Collection<String> policyDocuments)

        IAM policy documents.

        Parameters:
        policyDocuments - IAM policy documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocuments

        TestInvokeAuthorizerResponse.Builder policyDocuments​(String... policyDocuments)

        IAM policy documents.

        Parameters:
        policyDocuments - IAM policy documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • refreshAfterInSeconds

        TestInvokeAuthorizerResponse.Builder refreshAfterInSeconds​(Integer refreshAfterInSeconds)

        The number of seconds after which the temporary credentials are refreshed.

        Parameters:
        refreshAfterInSeconds - The number of seconds after which the temporary credentials are refreshed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disconnectAfterInSeconds

        TestInvokeAuthorizerResponse.Builder disconnectAfterInSeconds​(Integer disconnectAfterInSeconds)

        The number of seconds after which the connection is terminated.

        Parameters:
        disconnectAfterInSeconds - The number of seconds after which the connection is terminated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.