com.baidubce.services.cnap.model.monitoring
Class 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetMonitorDataRequest
public GetMonitorDataRequest()
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.