@Override
    public RetryingRpcClientBuilder maxTotalAttempts(
            int maxTotalAttempts) {
        return (RetryingRpcClientBuilder) super.maxTotalAttempts(maxTotalAttempts);
    }
Returns a newly-created decorator that decorates an {@link RpcClient} with a new
{@link RetryingRpcClient} based on the properties of this builder.
core/src/main/java/com/linecorp/armeria/client/retry/RetryingRpcClientBuilder.java