com.baidubce.services.cnap.model.monitoring
Class GetMonitorDataRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.cnap.model.monitoring.GetMonitorDataRequest

public class GetMonitorDataRequest
extends AbstractBceRequest

The request for get monitor data.


Constructor Summary
GetMonitorDataRequest()
           
 
Method Summary
 long getEnd()
           
 String getQuery()
           
 long getStart()
           
 int getStep()
           
 int getTimeout()
           
 void setEnd(long end)
           
 void setQuery(String query)
           
 void setStart(long start)
           
 void setStep(int step)
           
 void setTimeout(int timeout)
           
 GetMonitorDataRequest withEnd(long end)
           
 GetMonitorDataRequest withQuery(String query)
           
 GetMonitorDataRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 GetMonitorDataRequest withStart(long start)
           
 GetMonitorDataRequest withStep(int step)
           
 GetMonitorDataRequest withTimeout(int timeout)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetMonitorDataRequest

public GetMonitorDataRequest()
Method Detail

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.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
request with credentials.


Copyright © 2020. All rights reserved.