public SELF onStatus(HttpStatus... statuses) {
        return onStatus(ImmutableSet.copyOf(requireNonNull(statuses, "statuses")));
    }
Adds the specified {@link HttpStatus}es.

<p>When this is used for a {@link CircuitBreakerRule}, and the response status is one of the specified
{@link HttpStatus}es, a {@link Response} is reported as a success or failure to a
{@link CircuitBreaker} or ignored depending on the build methods({@code #thenSuccess()},
{@code #thenFailure()} and {@code #thenIgnore()}).
core/src/main/java/com/linecorp/armeria/client/AbstractRuleBuilder.java