@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupRuleOptionsPair extends Object implements Serializable, Cloneable
Describes the rule options for a stateful rule group.
Constructor and Description |
---|
RuleGroupRuleOptionsPair() |
Modifier and Type | Method and Description |
---|---|
RuleGroupRuleOptionsPair |
clone() |
boolean |
equals(Object obj) |
String |
getRuleGroupArn()
The ARN of the rule group.
|
List<RuleOption> |
getRuleOptions()
The rule options.
|
int |
hashCode() |
void |
setRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
|
void |
setRuleOptions(Collection<RuleOption> ruleOptions)
The rule options.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupRuleOptionsPair |
withRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
|
RuleGroupRuleOptionsPair |
withRuleOptions(Collection<RuleOption> ruleOptions)
The rule options.
|
RuleGroupRuleOptionsPair |
withRuleOptions(RuleOption... ruleOptions)
The rule options.
|
public void setRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
ruleGroupArn
- The ARN of the rule group.public String getRuleGroupArn()
The ARN of the rule group.
public RuleGroupRuleOptionsPair withRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
ruleGroupArn
- The ARN of the rule group.public List<RuleOption> getRuleOptions()
The rule options.
public void setRuleOptions(Collection<RuleOption> ruleOptions)
The rule options.
ruleOptions
- The rule options.public RuleGroupRuleOptionsPair withRuleOptions(RuleOption... ruleOptions)
The rule options.
NOTE: This method appends the values to the existing list (if any). Use
setRuleOptions(java.util.Collection)
or withRuleOptions(java.util.Collection)
if you want to
override the existing values.
ruleOptions
- The rule options.public RuleGroupRuleOptionsPair withRuleOptions(Collection<RuleOption> ruleOptions)
The rule options.
ruleOptions
- The rule options.public String toString()
toString
in class Object
Object.toString()
public RuleGroupRuleOptionsPair clone()