/** * <p> * The <a>Rule</a> returned in the <code>CreateRule</code> response. * </p> * * @param rule * The <a>Rule</a> returned in the <code>CreateRule</code> response. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRuleResult withRule(Rule rule) { setRule(rule); return this; }
if (context.testExpression("Rule", targetDepth)) { context.nextToken(); createRuleResult.setRule(RuleJsonUnmarshaller.getInstance().unmarshall(context));
if (context.testExpression("Rule", targetDepth)) { context.nextToken(); createRuleResult.setRule(RuleJsonUnmarshaller.getInstance().unmarshall(context));