Class DefaultTenant

java.lang.Object
com.sap.cloud.sdk.cloudplatform.tenant.DefaultTenant
All Implemented Interfaces:
Tenant

public class DefaultTenant extends Object implements Tenant
  • Constructor Details

    • DefaultTenant

      public DefaultTenant(@Nonnull String tenantId)
  • Method Details

    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • getTenantId

      @Nonnull public String getTenantId()
      Description copied from interface: Tenant
      Getter for the id of a tenant.
      In a zone enabled context this represents the zone id.
      Specified by:
      getTenantId in interface Tenant
      Returns:
      The identifier of the tenant (or zone, if applicable).