public void setTenancy(String tenancy) {
        this.tenancy = tenancy;
    }
<p>
The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit
tenancy settings from the VPC. The following are valid values for this parameter: <code>dedicated</code>,
<code>default</code>, or <code>host</code>. Because there are costs associated with changes in tenancy options,
we recommend that you research tenancy options before choosing them for your instances. For more information
about dedicated hosts, see <a href="http://aws.amazon.com/ec2/dedicated-hosts/">Dedicated Hosts Overview</a> and
<a href="http://aws.amazon.com/ec2/dedicated-hosts/">Amazon EC2 Dedicated Hosts</a>. For more information about
dedicated instances, see <a
href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html">Dedicated Instances</a> and
<a href="http://aws.amazon.com/ec2/purchasing-options/dedicated-instances/">Amazon EC2 Dedicated Instances</a>.
</p>

@param tenancy
       The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC,
       inherit tenancy settings from the VPC. The following are valid values for this parameter:
       <code>dedicated</code>, <code>default</code>, or <code>host</code>. Because there are costs associated
       with changes in tenancy options, we recommend that you research tenancy options before choosing them for
       your instances. For more information about dedicated hosts, see <a
       href="http://aws.amazon.com/ec2/dedicated-hosts/">Dedicated Hosts Overview</a> and <a
       href="http://aws.amazon.com/ec2/dedicated-hosts/">Amazon EC2 Dedicated Hosts</a>. For more information
       about dedicated instances, see <a
       href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html">Dedicated
       Instances</a> and <a href="http://aws.amazon.com/ec2/purchasing-options/dedicated-instances/">Amazon EC2
       Dedicated Instances</a>.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceRequest.java