public class ScpCfTenant extends DefaultTenant implements TenantWithSubdomain
Tenant
for SAP Cloud Platform Cloud Foundry.Constructor and Description |
---|
ScpCfTenant()
Creates a mocked
ScpCfTenant with an empty tenant identifier. |
ScpCfTenant(String tenantId,
String subdomain)
Creates a new
ScpCfTenant . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getSubdomain()
The subdomain of the tenant.
|
int |
hashCode() |
String |
toString() |
getTenantId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTenantId
public ScpCfTenant(@Nonnull String tenantId, @Nonnull String subdomain)
ScpCfTenant
.tenantId
- The identifier of the tenant.subdomain
- The subdomain of the tenant.public ScpCfTenant()
ScpCfTenant
with an empty tenant identifier.public boolean equals(@Nullable Object o)
equals
in class DefaultTenant
protected boolean canEqual(@Nullable Object other)
canEqual
in class DefaultTenant
public int hashCode()
hashCode
in class DefaultTenant
@Nonnull public String toString()
toString
in class DefaultTenant
@Nonnull public String getSubdomain()
getSubdomain
in interface TenantWithSubdomain
Copyright © 2021 SAP SE. All rights reserved.