|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.aliyuncs.http.HttpRequest
com.aliyuncs.AcsRequest<T>
com.aliyuncs.RpcAcsRequest<PutMetricDataResponse>
com.aliyuncs.cms.model.PutMetricDataRequest
public class PutMetricDataRequest
| 字段摘要 |
|---|
| 从类 com.aliyuncs.AcsRequest 继承的字段 |
|---|
composer |
| 从类 com.aliyuncs.http.HttpRequest 继承的字段 |
|---|
connectTimeout, content, CONTENT_LENGTH, CONTENT_MD5, CONTENT_TYPE, contentType, encoding, headers, readTimeout |
| 构造方法摘要 | |
|---|---|
PutMetricDataRequest()
|
|
| 方法摘要 | |
|---|---|
Class<PutMetricDataResponse> |
getResponseClass()
|
void |
putFullData(com.alibaba.fastjson.JSONArray body)
|
void |
putLocalSimpleData(String metricName,
String value)
|
void |
putSimpleData(String metricName,
String value)
|
| 从类 com.aliyuncs.RpcAcsRequest 继承的方法 |
|---|
composeUrl, setAcceptFormat, setActionName, setSecurityToken, setVersion, signRequest |
| 从类 com.aliyuncs.AcsRequest 继承的方法 |
|---|
concatQueryString, getAcceptFormat, getActionName, getDomainParameters, getProduct, getProtocol, getQueryParameters, getRegionId, getSecurityToken, getVersion, putDomainParameter, putDomainParameter, putQueryParameter, putQueryParameter, setParameter, setProtocol, setRegionId |
| 从类 com.aliyuncs.http.HttpRequest 继承的方法 |
|---|
getConnectTimeout, getContent, getContentType, getEncoding, getHeaders, getHeaderValue, getHttpConnection, getMethod, getReadTimeout, getUrl, putHeaderParameter, setConnectTimeout, setContent, setContentType, setEncoding, setMethod, setReadTimeout, setUrl |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public PutMetricDataRequest()
| 方法详细信息 |
|---|
public void putFullData(com.alibaba.fastjson.JSONArray body)
throws UnsupportedEncodingException
body - 数据格式如下:
[{"MetricName":“vm.cpu","Timestamp":"13770009766","Value":0.50,"Dimensions":“{unit:'count'}"} ,{"MetricName":“vm.mem”,"Timestamp":"13770009766","Value":0.51}]
UnsupportedEncodingException
public void putSimpleData(String metricName,
String value)
throws UnsupportedEncodingException
UnsupportedEncodingException
public void putLocalSimpleData(String metricName,
String value)
throws UnsupportedEncodingException,
UnknownHostException
UnsupportedEncodingException
UnknownHostExceptionpublic Class<PutMetricDataResponse> getResponseClass()
com.aliyuncs.AcsRequest<PutMetricDataResponse> 中的 getResponseClass
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||