Class TenantInfo
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.tenant.TenantInfo
-
public class TenantInfo extends Object
Tenant information beyond technical tenant id and user authorizations. This info is used to capture generic support information and invoiced billing information. All fields are non null but strings can be empty- Author:
- smorgrav
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TenantAddressaddress()TenantBillingbillingContact()TenantContactcontact()TenantContactscontacts()Stringemail()static TenantInfoempty()booleanequals(Object o)inthashCode()booleanisEmpty()Stringname()StringtoString()Stringwebsite()TenantInfowithAddress(TenantAddress address)TenantInfowithBilling(TenantBilling billingContact)TenantInfowithContact(TenantContact contact)TenantInfowithContacts(TenantContacts contacts)TenantInfowithEmail(String email)TenantInfowithName(String name)TenantInfowithWebsite(String website)
-
-
-
Method Detail
-
empty
public static TenantInfo empty()
-
name
public String name()
-
email
public String email()
-
website
public String website()
-
contact
public TenantContact contact()
-
address
public TenantAddress address()
-
billingContact
public TenantBilling billingContact()
-
contacts
public TenantContacts contacts()
-
isEmpty
public boolean isEmpty()
-
withName
public TenantInfo withName(String name)
-
withEmail
public TenantInfo withEmail(String email)
-
withWebsite
public TenantInfo withWebsite(String website)
-
withContact
public TenantInfo withContact(TenantContact contact)
-
withAddress
public TenantInfo withAddress(TenantAddress address)
-
withBilling
public TenantInfo withBilling(TenantBilling billingContact)
-
withContacts
public TenantInfo withContacts(TenantContacts contacts)
-
-