/** * <p> * The device name that is exposed to the instance, such as <code>/dev/sdh</code>. For the root device, you can use * the explicit device name or you can set this parameter to <code>ROOT_DEVICE</code> and AWS OpsWorks Stacks will * provide the correct device name. * </p> * * @param deviceName * The device name that is exposed to the instance, such as <code>/dev/sdh</code>. For the root device, you * can use the explicit device name or you can set this parameter to <code>ROOT_DEVICE</code> and AWS * OpsWorks Stacks will provide the correct device name. * @return Returns a reference to this object so that method calls can be chained together. */ public BlockDeviceMapping withDeviceName(String deviceName) { setDeviceName(deviceName); return this; }
if (context.testExpression("DeviceName", targetDepth)) { context.nextToken(); blockDeviceMapping.setDeviceName(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The device name that is exposed to the instance, such as <code>/dev/sdh</code>. For the root device, you can use * the explicit device name or you can set this parameter to <code>ROOT_DEVICE</code> and AWS OpsWorks Stacks will * provide the correct device name. * </p> * * @param deviceName * The device name that is exposed to the instance, such as <code>/dev/sdh</code>. For the root device, you * can use the explicit device name or you can set this parameter to <code>ROOT_DEVICE</code> and AWS * OpsWorks Stacks will provide the correct device name. * @return Returns a reference to this object so that method calls can be chained together. */ public BlockDeviceMapping withDeviceName(String deviceName) { setDeviceName(deviceName); return this; }
if (context.testExpression("DeviceName", targetDepth)) { context.nextToken(); blockDeviceMapping.setDeviceName(context.getUnmarshaller(String.class).unmarshall(context));