/** * <p> * The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of * <code>dedicated</code> runs on single-tenant hardware. The <code>host</code> tenancy is not supported for the * <a>ImportInstance</a> command. * </p> * * @param tenancy * The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of * <code>dedicated</code> runs on single-tenant hardware. The <code>host</code> tenancy is not supported for * the <a>ImportInstance</a> command. * @return Returns a reference to this object so that method calls can be chained together. * @see Tenancy */ public Placement withTenancy(String tenancy) { setTenancy(tenancy); return this; }
placement.setTenancy(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * <p> * The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of * <code>dedicated</code> runs on single-tenant hardware. The <code>host</code> tenancy is not supported for the * <a>ImportInstance</a> command. * </p> * * @param tenancy * The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of * <code>dedicated</code> runs on single-tenant hardware. The <code>host</code> tenancy is not supported for * the <a>ImportInstance</a> command. * @return Returns a reference to this object so that method calls can be chained together. * @see Tenancy */ public Placement withTenancy(String tenancy) { setTenancy(tenancy); return this; }
placement.setTenancy(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
Placement placement = new Placement(getZone()); if (getUseDedicatedTenancy()) { placement.setTenancy("dedicated");
Placement placement = new Placement(getZone()); if (getUseDedicatedTenancy()) { placement.setTenancy("dedicated");
placement.setTenancy(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;