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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreatedAt is the timestamp when the service was createdgetId()Unique identifier of the Service.getName()Unique human-readable name of the Service.booleanThe Service's suspended state.getTags()Tags is a map of key, value pairs.voidsetCreatedAt(Date in) CreatedAt is the timestamp when the service was createdvoidUnique identifier of the Service.voidUnique human-readable name of the Service.voidsetSuspended(boolean in) The Service's suspended state.voidTags is a map of key, value pairs.
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
getCreatedAt
CreatedAt is the timestamp when the service was created- Specified by:
getCreatedAtin interfaceAccount
-
setCreatedAt
CreatedAt is the timestamp when the service was created- Specified by:
setCreatedAtin interfaceAccount
-
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:
getSuspendedin interfaceAccount
-
setSuspended
public void setSuspended(boolean in) The Service's suspended state.- Specified by:
setSuspendedin interfaceAccount
-
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs.
-