@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Describes a rule update.
Constructor and Description |
---|
RuleUpdate() |
Modifier and Type | Method and Description |
---|---|
RuleUpdate |
clone() |
boolean |
equals(Object obj) |
RuleAction |
getAction()
The rule action.
|
RuleMatch |
getMatch()
The rule match.
|
Integer |
getPriority()
The rule priority.
|
String |
getRuleIdentifier()
The ID or Amazon Resource Name (ARN) of the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(RuleAction action)
The rule action.
|
void |
setMatch(RuleMatch match)
The rule match.
|
void |
setPriority(Integer priority)
The rule priority.
|
void |
setRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
|
String |
toString()
Returns a string representation of this object.
|
RuleUpdate |
withAction(RuleAction action)
The rule action.
|
RuleUpdate |
withMatch(RuleMatch match)
The rule match.
|
RuleUpdate |
withPriority(Integer priority)
The rule priority.
|
RuleUpdate |
withRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
|
public void setAction(RuleAction action)
The rule action.
action
- The rule action.public RuleAction getAction()
The rule action.
public RuleUpdate withAction(RuleAction action)
The rule action.
action
- The rule action.public void setMatch(RuleMatch match)
The rule match.
match
- The rule match.public RuleMatch getMatch()
The rule match.
public RuleUpdate withMatch(RuleMatch match)
The rule match.
match
- The rule match.public void setPriority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority
- The rule priority. A listener can't have multiple rules with the same priority.public Integer getPriority()
The rule priority. A listener can't have multiple rules with the same priority.
public RuleUpdate withPriority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority
- The rule priority. A listener can't have multiple rules with the same priority.public void setRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
ruleIdentifier
- The ID or Amazon Resource Name (ARN) of the rule.public String getRuleIdentifier()
The ID or Amazon Resource Name (ARN) of the rule.
public RuleUpdate withRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
ruleIdentifier
- The ID or Amazon Resource Name (ARN) of the rule.public String toString()
toString
in class Object
Object.toString()
public RuleUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.