类 GetMonitorDataRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.cnap.model.monitoring.GetMonitorDataRequest
-
public class GetMonitorDataRequest extends AbstractBceRequest
The request for get monitor data.
-
-
构造器概要
构造器 构造器 说明 GetMonitorDataRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetEnd()StringgetQuery()longgetStart()intgetStep()intgetTimeout()voidsetEnd(long end)voidsetQuery(String query)voidsetStart(long start)voidsetStep(int step)voidsetTimeout(int timeout)GetMonitorDataRequestwithEnd(long end)GetMonitorDataRequestwithQuery(String query)GetMonitorDataRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.GetMonitorDataRequestwithStart(long start)GetMonitorDataRequestwithStep(int step)GetMonitorDataRequestwithTimeout(int timeout)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getQuery
public String getQuery()
-
setQuery
public void setQuery(String query)
-
getStart
public long getStart()
-
setStart
public void setStart(long start)
-
getEnd
public long getEnd()
-
setEnd
public void setEnd(long end)
-
getStep
public int getStep()
-
setStep
public void setStep(int step)
-
getTimeout
public int getTimeout()
-
setTimeout
public void setTimeout(int timeout)
-
withQuery
public GetMonitorDataRequest withQuery(String query)
-
withStart
public GetMonitorDataRequest withStart(long start)
-
withEnd
public GetMonitorDataRequest withEnd(long end)
-
withStep
public GetMonitorDataRequest withStep(int step)
-
withTimeout
public GetMonitorDataRequest withTimeout(int timeout)
-
withRequestCredentials
public GetMonitorDataRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- request with credentials.
-
-