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 mockedScpCfTenantwith 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
getTenantIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 mockedScpCfTenantwith an empty tenant identifier.
-
-
Method Details
-
equals
- Overrides:
equalsin classDefaultTenant
-
canEqual
- Overrides:
canEqualin classDefaultTenant
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultTenant
-
toString
- Overrides:
toStringin classDefaultTenant
-
getSubdomain
The subdomain of the tenant.- Specified by:
getSubdomainin interfaceTenantWithSubdomain
-