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.GenericModel
Schema for a replication scheduler job.
-
-
Constructor Summary
Constructors Constructor Description SchedulerJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatabase()
Gets the database.String
getDocId()
Gets the docId.List<SchedulerJobEvent>
getHistory()
Gets the history.String
getId()
Gets the id.SchedulerInfo
getInfo()
Gets the info.String
getNode()
Gets the node.String
getPid()
Gets the pid.String
getSource()
Gets the source.Date
getStartTime()
Gets the startTime.String
getTarget()
Gets the target.String
getUser()
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
-
-