Interface MappingRule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MappingRule.Builder,MappingRule>, SdkBuilder<MappingRule.Builder,MappingRule>, SdkPojo
Enclosing class:
MappingRule

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

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