public void setHostRecovery(String hostRecovery) {
        this.hostRecovery = hostRecovery;
    }
<p>
Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html">Host recovery</a> in the
<i>Amazon EC2 User Guide</i>.
</p>

@param hostRecovery
       Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html">Host recovery</a>
       in the <i>Amazon EC2 User Guide</i>.
@see HostRecovery
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyHostsRequest.java