@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImpersonationMatchedRule extends Object implements Serializable, Cloneable, StructuredPojo
The impersonation rule that matched the input.
| Constructor and Description |
|---|
ImpersonationMatchedRule() |
| Modifier and Type | Method and Description |
|---|---|
ImpersonationMatchedRule |
clone() |
boolean |
equals(Object obj) |
String |
getImpersonationRuleId()
The ID of the rule that matched the input
|
String |
getName()
The name of the rule that matched the input.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setImpersonationRuleId(String impersonationRuleId)
The ID of the rule that matched the input
|
void |
setName(String name)
The name of the rule that matched the input.
|
String |
toString()
Returns a string representation of this object.
|
ImpersonationMatchedRule |
withImpersonationRuleId(String impersonationRuleId)
The ID of the rule that matched the input
|
ImpersonationMatchedRule |
withName(String name)
The name of the rule that matched the input.
|
public void setImpersonationRuleId(String impersonationRuleId)
The ID of the rule that matched the input
impersonationRuleId - The ID of the rule that matched the inputpublic String getImpersonationRuleId()
The ID of the rule that matched the input
public ImpersonationMatchedRule withImpersonationRuleId(String impersonationRuleId)
The ID of the rule that matched the input
impersonationRuleId - The ID of the rule that matched the inputpublic void setName(String name)
The name of the rule that matched the input.
name - The name of the rule that matched the input.public String getName()
The name of the rule that matched the input.
public ImpersonationMatchedRule withName(String name)
The name of the rule that matched the input.
name - The name of the rule that matched the input.public String toString()
toString in class ObjectObject.toString()public ImpersonationMatchedRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.