public Instance withHardware(InstanceHardware hardware) {
        setHardware(hardware);
        return this;
    }
<p>
The size of the vCPU and the amount of RAM for the instance.
</p>

@param hardware
       The size of the vCPU and the amount of RAM for the instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java