io.contek.zeus.server.account.Account Maven / Gradle / Ivy
package io.contek.zeus.server.account;
import com.google.common.collect.ImmutableSet;
import io.contek.invoker.security.ApiKey;
import io.contek.zeus.AccountName;
import javax.annotation.concurrent.Immutable;
@Immutable
public final class Account {
private final AccountName name;
private final ApiKey apiKey;
private final ImmutableSet tags;
public Account(AccountName name, ApiKey apiKey, ImmutableSet tags) {
this.name = name;
this.apiKey = apiKey;
this.tags = tags;
}
public AccountName getName() {
return name;
}
public ApiKey getApiKey() {
return apiKey;
}
public ImmutableSet getTags() {
return tags;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy