/** * <p> * The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job * rollout. * </p> * * @param exponentialRate * The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job * rollout. * @return Returns a reference to this object so that method calls can be chained together. */ public JobExecutionsRolloutConfig withExponentialRate(ExponentialRolloutRate exponentialRate) { setExponentialRate(exponentialRate); return this; }
jobExecutionsRolloutConfig.setExponentialRate(ExponentialRolloutRateJsonUnmarshaller.getInstance().unmarshall(context));
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; }
/** * <p> * The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job * rollout. * </p> * * @param exponentialRate * The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job * rollout. * @return Returns a reference to this object so that method calls can be chained together. */ public JobExecutionsRolloutConfig withExponentialRate(ExponentialRolloutRate exponentialRate) { setExponentialRate(exponentialRate); return this; }
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; }
jobExecutionsRolloutConfig.setExponentialRate(ExponentialRolloutRateJsonUnmarshaller.getInstance().unmarshall(context));