public long limit() {
        return limit;
    }
Returns the bucket size, which defines the count of tokens which can be held by the bucket
and defines the speed at which tokens are regenerated in the bucket.
@return Bucket size.
bucket4j/src/main/java/com/linecorp/armeria/server/throttling/bucket4j/BandwidthLimit.java