/** * <p> * The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to * create a staged rollout. * </p> * * @param maximumPerMinute * The maximum number of things that will be notified of a pending job, per minute. This parameter allows you * to create a staged rollout. * @return Returns a reference to this object so that method calls can be chained together. */ public JobExecutionsRolloutConfig withMaximumPerMinute(Integer maximumPerMinute) { setMaximumPerMinute(maximumPerMinute); return this; }
if (context.testExpression("maximumPerMinute", targetDepth)) { context.nextToken(); jobExecutionsRolloutConfig.setMaximumPerMinute(context.getUnmarshaller(Integer.class).unmarshall(context));
/** * <p> * The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to * create a staged rollout. * </p> * * @param maximumPerMinute * The maximum number of things that will be notified of a pending job, per minute. This parameter allows you * to create a staged rollout. * @return Returns a reference to this object so that method calls can be chained together. */ public JobExecutionsRolloutConfig withMaximumPerMinute(Integer maximumPerMinute) { setMaximumPerMinute(maximumPerMinute); 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; }
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; }
if (context.testExpression("maximumPerMinute", targetDepth)) { context.nextToken(); jobExecutionsRolloutConfig.setMaximumPerMinute(context.getUnmarshaller(Integer.class).unmarshall(context));