Package com.ibm.cloud.cloudant.v1.model
Class SchedulerJob
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.SchedulerJob
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SchedulerJob extends com.ibm.cloud.sdk.core.service.model.GenericModelSchema for a replication scheduler job.
-
-
Constructor Summary
Constructors Constructor Description SchedulerJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatabase()Gets the database.StringgetDocId()Gets the docId.List<SchedulerJobEvent>getHistory()Gets the history.StringgetId()Gets the id.SchedulerInfogetInfo()Gets the info.StringgetNode()Gets the node.StringgetPid()Gets the pid.StringgetSource()Gets the source.DategetStartTime()Gets the startTime.StringgetTarget()Gets the target.StringgetUser()Gets the user.
-
-
-
Method Detail
-
getDatabase
public String getDatabase()
Gets the database. Replication document database.- Returns:
- the database
-
getDocId
public String getDocId()
Gets the docId. Replication document ID.- Returns:
- the docId
-
getHistory
public List<SchedulerJobEvent> getHistory()
Gets the history. Timestamped history of events as a list of objects.- Returns:
- the history
-
getId
public String getId()
Gets the id. Schema for a replication job id.- Returns:
- the id
-
getInfo
public SchedulerInfo getInfo()
Gets the info. Schema for scheduler document information. A JSON object that may contain additional information about the state. For error states this will contain an error field and string value.- Returns:
- the info
-
getNode
public String getNode()
Gets the node. Cluster node where the job is running.- Returns:
- the node
-
getPid
public String getPid()
Gets the pid. Replication process ID.- Returns:
- the pid
-
getSource
public String getSource()
Gets the source. Replication source.- Returns:
- the source
-
getStartTime
public Date getStartTime()
Gets the startTime. Timestamp of when the replication was started.- Returns:
- the startTime
-
getTarget
public String getTarget()
Gets the target. Replication target.- Returns:
- the target
-
getUser
public String getUser()
Gets the user. Name of user running replication.- Returns:
- the user
-
-