setInvocationType(invocationType); return this;
public LambdaAction unmarshall(StaxUnmarshallerContext context) throws Exception { LambdaAction lambdaAction = new LambdaAction(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return lambdaAction; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("TopicArn", targetDepth)) { lambdaAction.setTopicArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("FunctionArn", targetDepth)) { lambdaAction.setFunctionArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("InvocationType", targetDepth)) { lambdaAction.setInvocationType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return lambdaAction; } } } }
setInvocationType(invocationType); return this;
lambdaAction.setInvocationType(StringStaxUnmarshaller.getInstance().unmarshall( context)); continue;
public LambdaAction unmarshall(StaxUnmarshallerContext context) throws Exception { LambdaAction lambdaAction = new LambdaAction(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return lambdaAction; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("TopicArn", targetDepth)) { lambdaAction.setTopicArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("FunctionArn", targetDepth)) { lambdaAction.setFunctionArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("InvocationType", targetDepth)) { lambdaAction.setInvocationType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return lambdaAction; } } } }