Class Tenant
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.tenant.Tenant
-
- Direct Known Subclasses:
AthenzTenant,CloudTenant,DeletedTenant
public abstract class Tenant extends java.lang.ObjectA tenant in hosted Vespa.- Author:
- mpolden
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTenant.Type
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Contact>contact()Contact information for this tenantjava.time.InstantcreatedAt()Instant when the tenant was createdbooleanequals(java.lang.Object o)inthashCode()LastLoginInfolastLoginInfo()Returns login information for this tenantcom.yahoo.config.provision.TenantNamename()Name of this tenantstatic com.yahoo.config.provision.TenantNamerequireName(com.yahoo.config.provision.TenantName name)abstract Tenant.Typetype()
-
-
-
Method Detail
-
name
public com.yahoo.config.provision.TenantName name()
Name of this tenant
-
createdAt
public java.time.Instant createdAt()
Instant when the tenant was created
-
lastLoginInfo
public LastLoginInfo lastLoginInfo()
Returns login information for this tenant
-
contact
public java.util.Optional<Contact> contact()
Contact information for this tenant
-
type
public abstract Tenant.Type type()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
requireName
public static com.yahoo.config.provision.TenantName requireName(com.yahoo.config.provision.TenantName name)
-
-