public void setForceDelete(Boolean forceDelete) {
        this.forceDelete = forceDelete;
    }
<p>
A Boolean value that indicates whether to force delete the bucket.
</p>
<p>
You must force delete the bucket if it has one of the following conditions:
</p>
<ul>
<li>
<p>
The bucket is the origin of a distribution.
</p>
</li>
<li>
<p>
The bucket has instances that were granted access to it using the <a
href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html"
>SetResourceAccessForBucket</a> action.
</p>
</li>
<li>
<p>
The bucket has objects.
</p>
</li>
<li>
<p>
The bucket has access keys.
</p>
</li>
</ul>
<important>
<p>
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions,
or software that use the issued access keys.
</p>
</important>

@param forceDelete
       A Boolean value that indicates whether to force delete the bucket.</p>
       <p>
       You must force delete the bucket if it has one of the following conditions:
       </p>
       <ul>
       <li>
       <p>
       The bucket is the origin of a distribution.
       </p>
       </li>
       <li>
       <p>
       The bucket has instances that were granted access to it using the <a href=
       "https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html"
       >SetResourceAccessForBucket</a> action.
       </p>
       </li>
       <li>
       <p>
       The bucket has objects.
       </p>
       </li>
       <li>
       <p>
       The bucket has access keys.
       </p>
       </li>
       </ul>
       <important>
       <p>
       Force deleting a bucket might impact other resources that rely on the bucket, such as instances,
       distributions, or software that use the issued access keys.
       </p>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/DeleteBucketRequest.java