@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RulesConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
A container for rules.
Constructor and Description |
---|
RulesConfigurationType() |
Modifier and Type | Method and Description |
---|---|
RulesConfigurationType |
clone() |
boolean |
equals(Object obj) |
List<MappingRule> |
getRules()
An array of rules.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRules(Collection<MappingRule> rules)
An array of rules.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RulesConfigurationType |
withRules(Collection<MappingRule> rules)
An array of rules.
|
RulesConfigurationType |
withRules(MappingRule... rules)
An array of rules.
|
public List<MappingRule> getRules()
An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
Rules are evaluated in order. The first one to match specifies the role.
public void setRules(Collection<MappingRule> rules)
An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
rules
- An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
public RulesConfigurationType withRules(MappingRule... rules)
An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
public RulesConfigurationType withRules(Collection<MappingRule> rules)
An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
rules
- An array of rules. You can specify up to 25 rules per identity provider.
Rules are evaluated in order. The first one to match specifies the role.
public String toString()
toString
in class Object
Object.toString()
public RulesConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.