public KinesisParameters unmarshall(JsonUnmarshallerContext context) throws Exception { KinesisParameters.Builder kinesisParametersBuilder = KinesisParameters.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("PartitionKeyPath", targetDepth)) { context.nextToken(); kinesisParametersBuilder.partitionKeyPath(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return kinesisParametersBuilder.build(); }
public TaskList unmarshall(JsonUnmarshallerContext context) throws Exception { TaskList.Builder taskListBuilder = TaskList.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("name", targetDepth)) { context.nextToken(); taskListBuilder.name(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return taskListBuilder.build(); }
public WorkflowExecutionFilter unmarshall(JsonUnmarshallerContext context) throws Exception { WorkflowExecutionFilter.Builder workflowExecutionFilterBuilder = WorkflowExecutionFilter.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("workflowId", targetDepth)) { context.nextToken(); workflowExecutionFilterBuilder.workflowId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return workflowExecutionFilterBuilder.build(); }
public AvailabilityZone unmarshall(JsonUnmarshallerContext context) throws Exception { AvailabilityZone.Builder availabilityZoneBuilder = AvailabilityZone.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("Name", targetDepth)) { context.nextToken(); availabilityZoneBuilder.name(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return availabilityZoneBuilder.build(); }
public DynamoDbSettings unmarshall(JsonUnmarshallerContext context) throws Exception { DynamoDbSettings.Builder dynamoDbSettingsBuilder = DynamoDbSettings.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("ServiceAccessRoleArn", targetDepth)) { context.nextToken(); dynamoDbSettingsBuilder.serviceAccessRoleArn(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return dynamoDbSettingsBuilder.build(); }
public CloseStatusFilter unmarshall(JsonUnmarshallerContext context) throws Exception { CloseStatusFilter.Builder closeStatusFilterBuilder = CloseStatusFilter.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("status", targetDepth)) { context.nextToken(); closeStatusFilterBuilder.status(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return closeStatusFilterBuilder.build(); }
if (context.testExpression("details", targetDepth)) { context.nextToken(); cancelWorkflowExecutionDecisionAttributesBuilder.details(context.getUnmarshaller(String.class).unmarshall( context));
public CancelTimerDecisionAttributes unmarshall(JsonUnmarshallerContext context) throws Exception { CancelTimerDecisionAttributes.Builder cancelTimerDecisionAttributesBuilder = CancelTimerDecisionAttributes.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("timerId", targetDepth)) { context.nextToken(); cancelTimerDecisionAttributesBuilder.timerId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return cancelTimerDecisionAttributesBuilder.build(); }
public TagFilter unmarshall(JsonUnmarshallerContext context) throws Exception { TagFilter.Builder tagFilterBuilder = TagFilter.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("tag", targetDepth)) { context.nextToken(); tagFilterBuilder.tag(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return tagFilterBuilder.build(); }
public MeterUsageResponse unmarshall(JsonUnmarshallerContext context) throws Exception { MeterUsageResponse.Builder meterUsageResponseBuilder = MeterUsageResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return meterUsageResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("MeteringRecordId", targetDepth)) { context.nextToken(); meterUsageResponseBuilder.meteringRecordId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return meterUsageResponseBuilder.build(); }
public ExportConfigurationsResponse unmarshall(JsonUnmarshallerContext context) throws Exception { ExportConfigurationsResponse.Builder exportConfigurationsResponseBuilder = ExportConfigurationsResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return exportConfigurationsResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("exportId", targetDepth)) { context.nextToken(); exportConfigurationsResponseBuilder.exportId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return exportConfigurationsResponseBuilder.build(); }
public PutRuleResponse unmarshall(JsonUnmarshallerContext context) throws Exception { PutRuleResponse.Builder putRuleResponseBuilder = PutRuleResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return putRuleResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("RuleArn", targetDepth)) { context.nextToken(); putRuleResponseBuilder.ruleArn(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return putRuleResponseBuilder.build(); }
public TestEventPatternResponse unmarshall(JsonUnmarshallerContext context) throws Exception { TestEventPatternResponse.Builder testEventPatternResponseBuilder = TestEventPatternResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return testEventPatternResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("Result", targetDepth)) { context.nextToken(); testEventPatternResponseBuilder.result(context.getUnmarshaller(Boolean.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return testEventPatternResponseBuilder.build(); }
public CreateApplicationResponse unmarshall(JsonUnmarshallerContext context) throws Exception { CreateApplicationResponse.Builder createApplicationResponseBuilder = CreateApplicationResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return createApplicationResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("configurationId", targetDepth)) { context.nextToken(); createApplicationResponseBuilder.configurationId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return createApplicationResponseBuilder.build(); }
if (context.testExpression("UserConfirmationNecessary", targetDepth)) { context.nextToken(); confirmDeviceResponseBuilder.userConfirmationNecessary(context.getUnmarshaller(Boolean.class).unmarshall( context));
context.nextToken(); createReplicationJobResponseBuilder.replicationJobId(context.getUnmarshaller(String.class) .unmarshall(context));
public ReloadTablesResponse unmarshall(JsonUnmarshallerContext context) throws Exception { ReloadTablesResponse.Builder reloadTablesResponseBuilder = ReloadTablesResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return reloadTablesResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("ReplicationTaskArn", targetDepth)) { context.nextToken(); reloadTablesResponseBuilder.replicationTaskArn(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return reloadTablesResponseBuilder.build(); }
public StartExportTaskResponse unmarshall(JsonUnmarshallerContext context) throws Exception { StartExportTaskResponse.Builder startExportTaskResponseBuilder = StartExportTaskResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return startExportTaskResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("exportId", targetDepth)) { context.nextToken(); startExportTaskResponseBuilder.exportId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return startExportTaskResponseBuilder.build(); }
if (context.testExpression("replicationRunId", targetDepth)) { context.nextToken(); startOnDemandReplicationRunResponseBuilder.replicationRunId(context.getUnmarshaller(String.class).unmarshall( context));
public StartWorkflowExecutionResponse unmarshall(JsonUnmarshallerContext context) throws Exception { StartWorkflowExecutionResponse.Builder startWorkflowExecutionResponseBuilder = StartWorkflowExecutionResponse.builder(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return startWorkflowExecutionResponseBuilder.build(); } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("runId", targetDepth)) { context.nextToken(); startWorkflowExecutionResponseBuilder.runId(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return startWorkflowExecutionResponseBuilder.build(); }