public class PutLogsRequest extends Object
构造器和说明 |
---|
PutLogsRequest(PutLogRequest.LogGroupList logGroupList,
String topicId) |
PutLogsRequest(PutLogRequest.LogGroupList logGroupList,
String topicId,
String hashKey,
String compressType) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
CheckValidation() |
String |
getCompressType() |
String |
getHashKey() |
PutLogRequest.LogGroupList |
getLogGroupList() |
String |
getTopicId() |
void |
setCompressType(String compressType) |
void |
setHashKey(String hashKey) |
void |
setLogGroupList(PutLogRequest.LogGroupList logGroupList) |
void |
setTopicId(String topicId) |
public PutLogsRequest(PutLogRequest.LogGroupList logGroupList, String topicId)
logGroupList
- 日志列表topicId
- 日志主题 IDpublic PutLogsRequest(PutLogRequest.LogGroupList logGroupList, String topicId, String hashKey, String compressType)
logGroupList
- 日志列表topicId
- 日志主题 IDhashKey
- 路由 Shard 的keycompressType
- 压缩格式,支持lz4、zlibpublic PutLogRequest.LogGroupList getLogGroupList()
public void setLogGroupList(PutLogRequest.LogGroupList logGroupList)
logGroupList
- 日志列表public String getTopicId()
public void setTopicId(String topicId)
topicId
- 日志主题 IDpublic String getHashKey()
public void setHashKey(String hashKey)
hashKey
- 路由 Shard 的keypublic String getCompressType()
public void setCompressType(String compressType)
compressType
- 压缩格式,支持lz4、zlibpublic boolean CheckValidation()
Copyright © 2024. All rights reserved.