aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/AccountId.java
blob: 660c57babac108693c81afdcb07f1ae91ba4038a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.organization;

import ai.vespa.validation.StringWrapper;

public class AccountId extends StringWrapper<AccountId> {

    public AccountId(String value) {
        super(value);
        if (value.isBlank()) throw new IllegalArgumentException("id must be non-blank");
    }

}