@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRuleResult() |
Modifier and Type | Method and Description |
---|---|
CreateRuleResult |
clone() |
boolean |
equals(Object obj) |
List<Rule> |
getRules()
Information about the rule.
|
int |
hashCode() |
void |
setRules(Collection<Rule> rules)
Information about the rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateRuleResult |
withRules(Collection<Rule> rules)
Information about the rule.
|
CreateRuleResult |
withRules(Rule... rules)
Information about the rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Rule> getRules()
Information about the rule.
public void setRules(Collection<Rule> rules)
Information about the rule.
rules
- Information about the rule.public CreateRuleResult withRules(Rule... rules)
Information about the rule.
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
- Information about the rule.public CreateRuleResult withRules(Collection<Rule> rules)
Information about the rule.
rules
- Information about the rule.public String toString()
toString
in class Object
Object.toString()
public CreateRuleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.