Class KeystoneTenant

    • Constructor Detail

      • KeystoneTenant

        public KeystoneTenant()
    • Method Detail

      • builder

        public static TenantBuilder builder()
        Returns:
        the Tenant builder
      • getId

        public String getId()
        By providing an ID it is assumed this object will be mapped to an existing Tenant
        Specified by:
        getId in interface Tenant
        Returns:
        the id of the tenant
      • getName

        public String getName()
        Specified by:
        getName in interface Tenant
        Returns:
        the name of the tenant
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface Tenant
        Returns:
        the description of the tenant
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface Tenant
        Returns:
        if the tenant is enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
        Sets the enabled.
        Parameters:
        enabled - the new enabled
      • delete

        public void delete()
        Specified by:
        delete in interface Tenant
      • update

        public void update()
        Specified by:
        update in interface Tenant
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object