StructuredPojo
, ToCopyableBuilder<MappingRule.Builder,MappingRule>
@Generated("software.amazon.awssdk:codegen") public class MappingRule extends Object implements StructuredPojo, ToCopyableBuilder<MappingRule.Builder,MappingRule>
A rule that maps a claim name, a claim value, and a match type to a role ARN.
Modifier and Type | Class | Description |
---|---|---|
static interface |
MappingRule.Builder |
Modifier and Type | Method | Description |
---|---|---|
static MappingRule.Builder |
builder() |
|
String |
claim() |
The claim name that must be present in the token, for example, "isAdmin" or "paid".
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
matchType() |
The match condition that specifies how closely the claim value in the IdP token must match
Value . |
String |
roleARN() |
The role ARN.
|
static Class<? extends MappingRule.Builder> |
serializableBuilderClass() |
|
MappingRule.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
value() |
A brief string that the claim must match, for example, "paid" or "yes".
|
public String claim()
The claim name that must be present in the token, for example, "isAdmin" or "paid".
public String matchType()
The match condition that specifies how closely the claim value in the IdP token must match Value
.
Value
.MappingRuleMatchType
public String value()
A brief string that the claim must match, for example, "paid" or "yes".
public String roleARN()
The role ARN.
public MappingRule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MappingRule.Builder,MappingRule>
public static MappingRule.Builder builder()
public static Class<? extends MappingRule.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.