Class ScpCfTenant
java.lang.Object
com.sap.cloud.sdk.cloudplatform.tenant.DefaultTenant
com.sap.cloud.sdk.cloudplatform.tenant.ScpCfTenant
- All Implemented Interfaces:
Tenant
,TenantWithSubdomain
Implementation of
Tenant
for SAP Business Technology Platform Cloud Foundry.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a mockedScpCfTenant
with an empty tenant identifier.ScpCfTenant
(String tenantId, String subdomain) Creates a newScpCfTenant
. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.cloudplatform.tenant.DefaultTenant
getTenantId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.cloudplatform.tenant.Tenant
getTenantId
-
Constructor Details
-
ScpCfTenant
Creates a newScpCfTenant
.- Parameters:
tenantId
- The identifier of the tenant or zone.subdomain
- The subdomain of the tenant.
-
ScpCfTenant
public ScpCfTenant()Creates a mockedScpCfTenant
with an empty tenant identifier.
-
-
Method Details
-
equals
- Overrides:
equals
in classDefaultTenant
-
canEqual
- Overrides:
canEqual
in classDefaultTenant
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultTenant
-
toString
- Overrides:
toString
in classDefaultTenant
-
getSubdomain
The subdomain of the tenant.- Specified by:
getSubdomain
in interfaceTenantWithSubdomain
-