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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingRule.Builderclaim(String claim)The claim name that must be present in the token, for example, "isAdmin" or "paid".MappingRule.BuildermatchType(String matchType)The match condition that specifies how closely the claim value in the IdP token must matchValue.MappingRule.BuildermatchType(MappingRuleMatchType matchType)The match condition that specifies how closely the claim value in the IdP token must matchValue.MappingRule.BuilderroleARN(String roleARN)The role ARN.MappingRule.Buildervalue(String value)A brief string that the claim must match, for example, "paid" or "yes".-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 matchValue.- 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 matchValue.- 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.
-
-