public UpdateBucketResult withBucket(Bucket bucket) {
        setBucket(bucket);
        return this;
    }
<p>
An object that describes the bucket that is updated.
</p>

@param bucket
       An object that describes the bucket that is updated.
@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/UpdateBucketResult.java