public static interface MappingRule.Builder extends CopyableBuilder<MappingRule.Builder,MappingRule>
Modifier and Type | Method and Description |
---|---|
MappingRule.Builder |
claim(String claim)
The claim name that must be present in the token, for example, "isAdmin" or "paid".
|
MappingRule.Builder |
matchType(MappingRuleMatchType matchType)
The match condition that specifies how closely the claim value in the IdP token must match
Value
. |
MappingRule.Builder |
matchType(String matchType)
The match condition that specifies how closely the claim value in the IdP token must match
Value
. |
MappingRule.Builder |
roleARN(String roleARN)
The role ARN.
|
MappingRule.Builder |
value(String value)
A brief string that the claim must match, for example, "paid" or "yes".
|
copy
apply, build
MappingRule.Builder claim(String claim)
The claim name that must be present in the token, for example, "isAdmin" or "paid".
claim
- The claim name that must be present in the token, for example, "isAdmin" or "paid".MappingRule.Builder matchType(String matchType)
The match condition that specifies how closely the claim value in the IdP token must match Value
.
matchType
- The match condition that specifies how closely the claim value in the IdP token must match
Value
.MappingRuleMatchType
,
MappingRuleMatchType
MappingRule.Builder matchType(MappingRuleMatchType matchType)
The match condition that specifies how closely the claim value in the IdP token must match Value
.
matchType
- The match condition that specifies how closely the claim value in the IdP token must match
Value
.MappingRuleMatchType
,
MappingRuleMatchType
MappingRule.Builder value(String value)
A brief string that the claim must match, for example, "paid" or "yes".
value
- A brief string that the claim must match, for example, "paid" or "yes".MappingRule.Builder roleARN(String roleARN)
The role ARN.
roleARN
- The role ARN.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.