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
ConstructorsConstructorDescriptionDefaultTenant(String tenantId) Creates aDefaultTenantwithout subdomain.DefaultTenant(String tenantId, String subdomain) Creates a newDefaultTenantinstance. -
Method Summary
-
Constructor Details
-
DefaultTenant
Creates aDefaultTenantwithout subdomain.- Parameters:
tenantId- The identifier of the tenant.
-
DefaultTenant
Creates a newDefaultTenantinstance.- Parameters:
tenantId- The identifier of the tenant.subdomain- The subdomain of the tenant.
-
-
Method Details
-
getTenantId
The identifier of the tenant.- Specified by:
getTenantIdin interfaceTenant- Returns:
- The identifier of the tenant.
-
getSubdomain
The subdomain of the tenant.- Specified by:
getSubdomainin interfaceTenantWithSubdomain- Returns:
- The tenant subdomain.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-