Class DescribeCurrentOpRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20190725.models.DescribeCurrentOpRequest
-
public class DescribeCurrentOpRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeCurrentOpRequest()
DescribeCurrentOpRequest(DescribeCurrentOpRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInstanceId()
Get 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同Long
getLimit()
Get 单次请求返回的数量,默认值为100,取值范围为[0,100]Long
getMillisecondRunning()
Get 筛选条件,操作已经执行的时间(单位:毫秒),结果将返回超过设置时间的操作,默认值为0,取值范围为[0, 3600000]String
getNs()
Get 筛选条件,操作所属的命名空间namespace,格式为db.collectionLong
getOffset()
Get 偏移量,默认值为0,取值范围为[0,10000]String
getOp()
Get 筛选条件,操作类型,可能的取值:none,update,insert,query,command,getmore,remove和killcursorsString
getOrderBy()
Get 返回结果集排序的字段,目前支持:"MicrosecsRunning"/"microsecsrunning",默认为升序排序String
getOrderByType()
Get 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc"String
getReplicaSetName()
Get 筛选条件,分片名称String
getState()
Get 筛选条件,节点状态,可能的取值为:primary secondaryvoid
setInstanceId(String InstanceId)
Set 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同void
setLimit(Long Limit)
Set 单次请求返回的数量,默认值为100,取值范围为[0,100]void
setMillisecondRunning(Long MillisecondRunning)
Set 筛选条件,操作已经执行的时间(单位:毫秒),结果将返回超过设置时间的操作,默认值为0,取值范围为[0, 3600000]void
setNs(String Ns)
Set 筛选条件,操作所属的命名空间namespace,格式为db.collectionvoid
setOffset(Long Offset)
Set 偏移量,默认值为0,取值范围为[0,10000]void
setOp(String Op)
Set 筛选条件,操作类型,可能的取值:none,update,insert,query,command,getmore,remove和killcursorsvoid
setOrderBy(String OrderBy)
Set 返回结果集排序的字段,目前支持:"MicrosecsRunning"/"microsecsrunning",默认为升序排序void
setOrderByType(String OrderByType)
Set 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc"void
setReplicaSetName(String ReplicaSetName)
Set 筛选条件,分片名称void
setState(String State)
Set 筛选条件,节点状态,可能的取值为:primary secondaryvoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeCurrentOpRequest
public DescribeCurrentOpRequest()
-
DescribeCurrentOpRequest
public DescribeCurrentOpRequest(DescribeCurrentOpRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同- Returns:
- InstanceId 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同- Parameters:
InstanceId
- 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
-
getNs
public String getNs()
Get 筛选条件,操作所属的命名空间namespace,格式为db.collection- Returns:
- Ns 筛选条件,操作所属的命名空间namespace,格式为db.collection
-
setNs
public void setNs(String Ns)
Set 筛选条件,操作所属的命名空间namespace,格式为db.collection- Parameters:
Ns
- 筛选条件,操作所属的命名空间namespace,格式为db.collection
-
getMillisecondRunning
public Long getMillisecondRunning()
Get 筛选条件,操作已经执行的时间(单位:毫秒),结果将返回超过设置时间的操作,默认值为0,取值范围为[0, 3600000]- Returns:
- MillisecondRunning 筛选条件,操作已经执行的时间(单位:毫秒),结果将返回超过设置时间的操作,默认值为0,取值范围为[0, 3600000]
-
setMillisecondRunning
public void setMillisecondRunning(Long MillisecondRunning)
Set 筛选条件,操作已经执行的时间(单位:毫秒),结果将返回超过设置时间的操作,默认值为0,取值范围为[0, 3600000]- Parameters:
MillisecondRunning
- 筛选条件,操作已经执行的时间(单位:毫秒),结果将返回超过设置时间的操作,默认值为0,取值范围为[0, 3600000]
-
getOp
public String getOp()
Get 筛选条件,操作类型,可能的取值:none,update,insert,query,command,getmore,remove和killcursors- Returns:
- Op 筛选条件,操作类型,可能的取值:none,update,insert,query,command,getmore,remove和killcursors
-
setOp
public void setOp(String Op)
Set 筛选条件,操作类型,可能的取值:none,update,insert,query,command,getmore,remove和killcursors- Parameters:
Op
- 筛选条件,操作类型,可能的取值:none,update,insert,query,command,getmore,remove和killcursors
-
getReplicaSetName
public String getReplicaSetName()
Get 筛选条件,分片名称- Returns:
- ReplicaSetName 筛选条件,分片名称
-
setReplicaSetName
public void setReplicaSetName(String ReplicaSetName)
Set 筛选条件,分片名称- Parameters:
ReplicaSetName
- 筛选条件,分片名称
-
getState
public String getState()
Get 筛选条件,节点状态,可能的取值为:primary secondary- Returns:
- State 筛选条件,节点状态,可能的取值为:primary secondary
-
setState
public void setState(String State)
Set 筛选条件,节点状态,可能的取值为:primary secondary- Parameters:
State
- 筛选条件,节点状态,可能的取值为:primary secondary
-
getLimit
public Long getLimit()
Get 单次请求返回的数量,默认值为100,取值范围为[0,100]- Returns:
- Limit 单次请求返回的数量,默认值为100,取值范围为[0,100]
-
setLimit
public void setLimit(Long Limit)
Set 单次请求返回的数量,默认值为100,取值范围为[0,100]- Parameters:
Limit
- 单次请求返回的数量,默认值为100,取值范围为[0,100]
-
getOffset
public Long getOffset()
Get 偏移量,默认值为0,取值范围为[0,10000]- Returns:
- Offset 偏移量,默认值为0,取值范围为[0,10000]
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认值为0,取值范围为[0,10000]- Parameters:
Offset
- 偏移量,默认值为0,取值范围为[0,10000]
-
getOrderBy
public String getOrderBy()
Get 返回结果集排序的字段,目前支持:"MicrosecsRunning"/"microsecsrunning",默认为升序排序- Returns:
- OrderBy 返回结果集排序的字段,目前支持:"MicrosecsRunning"/"microsecsrunning",默认为升序排序
-
setOrderBy
public void setOrderBy(String OrderBy)
Set 返回结果集排序的字段,目前支持:"MicrosecsRunning"/"microsecsrunning",默认为升序排序- Parameters:
OrderBy
- 返回结果集排序的字段,目前支持:"MicrosecsRunning"/"microsecsrunning",默认为升序排序
-
getOrderByType
public String getOrderByType()
Get 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc"- Returns:
- OrderByType 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc"
-
setOrderByType
public void setOrderByType(String OrderByType)
Set 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc"- Parameters:
OrderByType
- 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc"
-
-