/** * <p> * The priority for the launch template override. If <b>AllocationStrategy</b> is set to <code>prioritized</code>, * EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand * capacity. The highest priority is launched first. Valid values are whole numbers starting at <code>0</code>. The * lower the number, the higher the priority. If no number is set, the override has the lowest priority. * </p> * * @param priority * The priority for the launch template override. If <b>AllocationStrategy</b> is set to * <code>prioritized</code>, EC2 Fleet uses priority to determine which launch template override to use first * in fulfilling On-Demand capacity. The highest priority is launched first. Valid values are whole numbers * starting at <code>0</code>. The lower the number, the higher the priority. If no number is set, the * override has the lowest priority. * @return Returns a reference to this object so that method calls can be chained together. */ public FleetLaunchTemplateOverrides withPriority(Double priority) { setPriority(priority); return this; }
fleetLaunchTemplateOverrides.setPriority(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * <p> * The priority for the launch template override. If <b>AllocationStrategy</b> is set to <code>prioritized</code>, * EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand * capacity. The highest priority is launched first. Valid values are whole numbers starting at <code>0</code>. The * lower the number, the higher the priority. If no number is set, the override has the lowest priority. * </p> * * @param priority * The priority for the launch template override. If <b>AllocationStrategy</b> is set to * <code>prioritized</code>, EC2 Fleet uses priority to determine which launch template override to use first * in fulfilling On-Demand capacity. The highest priority is launched first. Valid values are whole numbers * starting at <code>0</code>. The lower the number, the higher the priority. If no number is set, the * override has the lowest priority. * @return Returns a reference to this object so that method calls can be chained together. */ public FleetLaunchTemplateOverrides withPriority(Double priority) { setPriority(priority); return this; }
fleetLaunchTemplateOverrides.setPriority(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); continue;