Package com.strongdm.api
Class Service
java.lang.Object
com.strongdm.api.Service
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Unique identifier of the Service.getName()
Unique human-readable name of the Service.boolean
The Service's suspended state.getTags()
Tags is a map of key, value pairs.void
Unique identifier of the Service.void
Unique human-readable name of the Service.void
setSuspended
(boolean in) The Service's suspended state.void
Tags is a map of key, value pairs.
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
getId
Unique identifier of the Service. -
setId
Unique identifier of the Service. -
getName
Unique human-readable name of the Service. -
setName
Unique human-readable name of the Service. -
getSuspended
public boolean getSuspended()The Service's suspended state.- Specified by:
getSuspended
in interfaceAccount
-
setSuspended
public void setSuspended(boolean in) The Service's suspended state.- Specified by:
setSuspended
in interfaceAccount
-
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs.
-