Class CloudTenant
java.lang.Object
com.yahoo.vespa.hosted.controller.tenant.Tenant
com.yahoo.vespa.hosted.controller.tenant.CloudTenant
A paying tenant in a Vespa cloud service.
- Author:
- jonmv
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.vespa.hosted.controller.tenant.Tenant
Tenant.Type -
Constructor Summary
ConstructorsConstructorDescriptionCloudTenant(com.yahoo.config.provision.TenantName name, Instant createdAt, LastLoginInfo lastLoginInfo, Optional<Principal> creator, com.google.common.collect.BiMap<PublicKey, Principal> developerKeys, TenantInfo info, List<TenantSecretStore> tenantSecretStores, Optional<String> archiveAccessRole) Public for the serialization layer — do not use! -
Method Summary
Modifier and TypeMethodDescriptionAn iam role which is allowed to access the S3 (log, dump) archive)static CloudTenantCreates a tenant with the given name, provided it passes validation.creator()The user that created the tenantReturns the set of developer keys and their corresponding developers for this tenant.info()Legal name, addresses etcList of configured secret storestype()Methods inherited from class com.yahoo.vespa.hosted.controller.tenant.Tenant
contact, createdAt, equals, hashCode, lastLoginInfo, name, requireName
-
Constructor Details
-
CloudTenant
public CloudTenant(com.yahoo.config.provision.TenantName name, Instant createdAt, LastLoginInfo lastLoginInfo, Optional<Principal> creator, com.google.common.collect.BiMap<PublicKey, Principal> developerKeys, TenantInfo info, List<TenantSecretStore> tenantSecretStores, Optional<String> archiveAccessRole) Public for the serialization layer — do not use!
-
-
Method Details
-
create
public static CloudTenant create(com.yahoo.config.provision.TenantName tenantName, Instant createdAt, Principal creator) Creates a tenant with the given name, provided it passes validation. -
creator
The user that created the tenant -
info
Legal name, addresses etc -
archiveAccessRole
An iam role which is allowed to access the S3 (log, dump) archive) -
developerKeys
Returns the set of developer keys and their corresponding developers for this tenant. -
tenantSecretStores
List of configured secret stores -
type
-