Interface MappingRule.Builder

    • Method Detail

      • claim

        MappingRule.Builder claim​(String claim)

        The claim name that must be present in the token, for example, "isAdmin" or "paid".

        Parameters:
        claim - The claim name that must be present in the token, for example, "isAdmin" or "paid".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchType

        MappingRule.Builder matchType​(String matchType)

        The match condition that specifies how closely the claim value in the IdP token must match Value .

        Parameters:
        matchType - The match condition that specifies how closely the claim value in the IdP token must match Value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MappingRuleMatchType, MappingRuleMatchType
      • matchType

        MappingRule.Builder matchType​(MappingRuleMatchType matchType)

        The match condition that specifies how closely the claim value in the IdP token must match Value .

        Parameters:
        matchType - The match condition that specifies how closely the claim value in the IdP token must match Value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MappingRuleMatchType, MappingRuleMatchType
      • value

        MappingRule.Builder value​(String value)

        A brief string that the claim must match, for example, "paid" or "yes".

        Parameters:
        value - A brief string that the claim must match, for example, "paid" or "yes".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleARN

        MappingRule.Builder roleARN​(String roleARN)

        The role ARN.

        Parameters:
        roleARN - The role ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.