Class DefaultTenant
java.lang.Object
com.sap.cloud.sdk.cloudplatform.tenant.DefaultTenant
- All Implemented Interfaces:
Tenant
,TenantWithSubdomain
Implementation of
Tenant
which can be used on SAP Business Technology Platform Cloud Foundry.-
Constructor Summary
ConstructorDescriptionDefaultTenant
(String tenantId) Creates aDefaultTenant
without subdomain.DefaultTenant
(String tenantId, String subdomain) Creates a newDefaultTenant
instance. -
Method Summary
-
Constructor Details
-
DefaultTenant
Creates aDefaultTenant
without subdomain.- Parameters:
tenantId
- The identifier of the tenant.
-
DefaultTenant
Creates a newDefaultTenant
instance.- Parameters:
tenantId
- The identifier of the tenant.subdomain
- The subdomain of the tenant.
-
-
Method Details
-
getTenantId
The identifier of the tenant.- Specified by:
getTenantId
in interfaceTenant
- Returns:
- The identifier of the tenant.
-
getSubdomain
The subdomain of the tenant.- Specified by:
getSubdomain
in interfaceTenantWithSubdomain
- Returns:
- The tenant subdomain.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-