public void setVersioning(String versioning) {
        this.versioning = versioning;
    }
<p>
Specifies whether to enable or suspend versioning of objects in the bucket.
</p>
<p>
The following options can be specified:
</p>
<ul>
<li>
<p>
<code>Enabled</code> - Enables versioning of objects in the specified bucket.
</p>
</li>
<li>
<p>
<code>Suspended</code> - Suspends versioning of objects in the specified bucket. Existing object versions are
retained.
</p>
</li>
</ul>

@param versioning
       Specifies whether to enable or suspend versioning of objects in the bucket.</p>
       <p>
       The following options can be specified:
       </p>
       <ul>
       <li>
       <p>
       <code>Enabled</code> - Enables versioning of objects in the specified bucket.
       </p>
       </li>
       <li>
       <p>
       <code>Suspended</code> - Suspends versioning of objects in the specified bucket. Existing object versions
       are retained.
       </p>
       </li>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/UpdateBucketRequest.java