public JobExecutionsRolloutConfig unmarshall(JsonUnmarshallerContext context) throws Exception { JobExecutionsRolloutConfig jobExecutionsRolloutConfig = new JobExecutionsRolloutConfig();
public JobExecutionsRolloutConfig unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } JobExecutionsRolloutConfig jobExecutionsRolloutConfig = new JobExecutionsRolloutConfig(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("maximumPerMinute")) { jobExecutionsRolloutConfig.setMaximumPerMinute(IntegerJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("exponentialRate")) { jobExecutionsRolloutConfig .setExponentialRate(ExponentialRolloutRateJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return jobExecutionsRolloutConfig; }
public JobExecutionsRolloutConfig unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } JobExecutionsRolloutConfig jobExecutionsRolloutConfig = new JobExecutionsRolloutConfig(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("maximumPerMinute")) { jobExecutionsRolloutConfig.setMaximumPerMinute(IntegerJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("exponentialRate")) { jobExecutionsRolloutConfig .setExponentialRate(ExponentialRolloutRateJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return jobExecutionsRolloutConfig; }
public JobExecutionsRolloutConfig unmarshall(JsonUnmarshallerContext context) throws Exception { JobExecutionsRolloutConfig jobExecutionsRolloutConfig = new JobExecutionsRolloutConfig();