Class Service

java.lang.Object
com.strongdm.api.Service
All Implemented Interfaces:
Account

public class Service extends Object implements Account
A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
  • Constructor Details

    • Service

      public Service()
  • Method Details

    • getId

      public String getId()
      Unique identifier of the Service.
      Specified by:
      getId in interface Account
    • setId

      public void setId(String in)
      Unique identifier of the Service.
    • getName

      public String getName()
      Unique human-readable name of the Service.
    • setName

      public void setName(String in)
      Unique human-readable name of the Service.
    • getSuspended

      public boolean getSuspended()
      The Service's suspended state.
      Specified by:
      getSuspended in interface Account
    • setSuspended

      public void setSuspended(boolean in)
      The Service's suspended state.
      Specified by:
      setSuspended in interface Account
    • getTags

      public Map<String,String> getTags()
      Tags is a map of key, value pairs.
      Specified by:
      getTags in interface Account
    • setTags

      public void setTags(Map<String,String> in)
      Tags is a map of key, value pairs.
      Specified by:
      setTags in interface Account