public class TLSLogClientImpl extends Object implements TLSLogClient
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_REQUEST_TIMEOUT_MS |
static int |
DEFAULT_RETRY_COUNTER_MAXIMUM |
static int |
DEFAULT_RETRY_INTERVAL_MS |
| Constructor and Description |
|---|
TLSLogClientImpl(TLSHttpUtil util,
ClientConfig config) |
public static int DEFAULT_RETRY_INTERVAL_MS
public static int DEFAULT_REQUEST_TIMEOUT_MS
public static int DEFAULT_RETRY_COUNTER_MAXIMUM
public TLSLogClientImpl(TLSHttpUtil util, ClientConfig config)
public void configClient(ClientConfig config)
TLSLogClientconfigClient in interface TLSLogClientpublic void resetAccessKeyToken(String accessKeyID, String accessKeySecret, String securityToken)
resetAccessKeyToken in interface TLSLogClientpublic void setTimeout(int socketTimeout,
int connectionTimeout)
setTimeout in interface TLSLogClientsocketTimeout - time msconnectionTimeout - time mspublic PutLogsResponse putLogs(PutLogsRequest request) throws LogException
TLSLogClientputLogs in interface TLSLogClientLogExceptionpublic PutLogsResponse putLogsV2(PutLogsRequestV2 request) throws LogException
putLogsV2 in interface TLSLogClientLogExceptionpublic DescribeCursorResponse describeCursor(DescribeCursorRequest request) throws LogException
describeCursor in interface TLSLogClientLogExceptionpublic ConsumeLogsResponse consumeLogs(ConsumeLogsRequest request) throws LogException
consumeLogs in interface TLSLogClientLogExceptionpublic SearchLogsResponse searchLogs(SearchLogsRequest request) throws LogException
searchLogs in interface TLSLogClientLogExceptionpublic SearchLogsResponseV2 searchLogsV2(SearchLogsRequest request) throws LogException
searchLogsV2 in interface TLSLogClientLogExceptionpublic DescribeShardsResponse describeShards(DescribeShardsRequest request) throws LogException
describeShards in interface TLSLogClientLogExceptionpublic DescribeLogContextResponse describeLogContext(DescribeLogContextRequest request) throws LogException
describeLogContext in interface TLSLogClientLogExceptionpublic WebTracksResponse webTracks(WebTracksRequest request) throws LogException
webTracks in interface TLSLogClientLogException@Deprecated public DescribeHistogramResponse describeHistogram(DescribeHistogramRequest request) throws LogException
describeHistogram in interface TLSLogClientLogExceptionpublic DescribeHistogramV1Response describeHistogramV1(DescribeHistogramV1Request request) throws LogException
describeHistogramV1 in interface TLSLogClientLogExceptionpublic CreateProjectResponse createProject(CreateProjectRequest request) throws LogException
TLSLogClientcreateProject in interface TLSLogClientrequest:projectName、region - are required,description of project is optionalLogExceptionpublic DeleteProjectResponse deleteProject(DeleteProjectRequest request) throws LogException
deleteProject in interface TLSLogClientrequest:projectId - is requiredLogExceptionpublic ModifyProjectResponse modifyProject(ModifyProjectRequest request) throws LogException
modifyProject in interface TLSLogClientrequest:projectId - required,name and description optionalLogExceptionpublic DescribeProjectResponse describeProject(DescribeProjectRequest request) throws LogException
describeProject in interface TLSLogClientrequest:requestId - is requiredProjectInfoLogExceptionpublic DescribeProjectsResponse describeProjects(DescribeProjectsRequest request) throws LogException
describeProjects in interface TLSLogClientrequest - isFullName:true for exactly match , false for fuzzy match
project id or name、page size and number are all optional detail see
DescribeProjectsRequestProjectInfo and project countLogExceptionpublic CreateTopicResponse createTopic(CreateTopicRequest request) throws LogException
TLSLogClientcreateTopic in interface TLSLogClientLogExceptionpublic DeleteTopicResponse deleteTopic(DeleteTopicRequest request) throws LogException
deleteTopic in interface TLSLogClientLogExceptionpublic ModifyTopicResponse modifyTopic(ModifyTopicRequest request) throws LogException
modifyTopic in interface TLSLogClientLogExceptionpublic DescribeTopicResponse describeTopic(DescribeTopicRequest request) throws LogException
describeTopic in interface TLSLogClientLogExceptionpublic DescribeTopicsResponse describeTopics(DescribeTopicsRequest request) throws LogException
describeTopics in interface TLSLogClientLogExceptionpublic CreateIndexResponse createIndex(CreateIndexRequest request) throws LogException
TLSLogClientcreateIndex in interface TLSLogClientLogExceptionpublic DeleteIndexResponse deleteIndex(DeleteIndexRequest request) throws LogException
deleteIndex in interface TLSLogClientLogExceptionpublic ModifyIndexResponse modifyIndex(ModifyIndexRequest request) throws LogException
modifyIndex in interface TLSLogClientLogExceptionpublic DescribeIndexResponse describeIndex(DescribeIndexRequest request) throws LogException
describeIndex in interface TLSLogClientLogExceptionpublic CreateRuleResponse createRule(CreateRuleRequest request) throws LogException
TLSLogClientcreateRule in interface TLSLogClientLogExceptionpublic DeleteRuleResponse deleteRule(DeleteRuleRequest request) throws LogException
deleteRule in interface TLSLogClientLogExceptionpublic ModifyRuleResponse modifyRule(ModifyRuleRequest request) throws LogException
modifyRule in interface TLSLogClientLogExceptionpublic DescribeRuleResponse describeRule(DescribeRuleRequest request) throws LogException
describeRule in interface TLSLogClientLogExceptionpublic DescribeRulesResponse describeRules(DescribeRulesRequest request) throws LogException
describeRules in interface TLSLogClientLogExceptionpublic ApplyRuleToHostGroupsResponse applyRuleToHostGroups(ApplyRuleToHostGroupsRequest request) throws LogException
applyRuleToHostGroups in interface TLSLogClientLogExceptionpublic DeleteRuleFromHostGroupsResponse deleteRuleFromHostGroups(DeleteRuleFromHostGroupsRequest request) throws LogException
deleteRuleFromHostGroups in interface TLSLogClientLogExceptionpublic CreateHostGroupResponse createHostGroup(CreateHostGroupRequest request) throws LogException
TLSLogClientcreateHostGroup in interface TLSLogClientLogExceptionpublic DeleteHostGroupResponse deleteHostGroup(DeleteHostGroupRequest request) throws LogException
deleteHostGroup in interface TLSLogClientLogExceptionpublic ModifyHostGroupResponse modifyHostGroup(ModifyHostGroupRequest request) throws LogException
modifyHostGroup in interface TLSLogClientLogExceptionpublic DescribeHostGroupResponse describeHostGroup(DescribeHostGroupRequest request) throws LogException
describeHostGroup in interface TLSLogClientLogExceptionpublic DescribeHostGroupsResponse describeHostGroups(DescribeHostGroupsRequest request) throws LogException
describeHostGroups in interface TLSLogClientLogExceptionpublic DescribeHostsResponse describeHosts(DescribeHostsRequest request) throws LogException
describeHosts in interface TLSLogClientLogExceptionpublic DeleteHostResponse deleteHost(DeleteHostRequest request) throws LogException
deleteHost in interface TLSLogClientLogExceptionpublic DescribeHostGroupRulesResponse describeHostGroupRules(DescribeHostGroupRulesRequest request) throws LogException
describeHostGroupRules in interface TLSLogClientLogExceptionpublic ModifyHostGroupsAutoUpdateResponse modifyHostGroupsAutoUpdate(ModifyHostGroupsAutoUpdateRequest request) throws LogException
modifyHostGroupsAutoUpdate in interface TLSLogClientLogExceptionpublic CreateAlarmResponse createAlarm(CreateAlarmRequest request) throws LogException
TLSLogClientcreateAlarm in interface TLSLogClientLogExceptionpublic DeleteAlarmResponse deleteAlarm(DeleteAlarmRequest request) throws LogException
deleteAlarm in interface TLSLogClientLogExceptionpublic ModifyAlarmResponse modifyAlarm(ModifyAlarmRequest request) throws LogException
modifyAlarm in interface TLSLogClientLogExceptionpublic DescribeAlarmsResponse describeAlarms(DescribeAlarmsRequest request) throws LogException
describeAlarms in interface TLSLogClientLogExceptionpublic CreateAlarmNotifyGroupResponse createAlarmNotifyGroup(CreateAlarmNotifyGroupRequest request) throws LogException
createAlarmNotifyGroup in interface TLSLogClientLogExceptionpublic DeleteAlarmNotifyGroupResponse deleteAlarmNotifyGroup(DeleteAlarmNotifyGroupRequest request) throws LogException
deleteAlarmNotifyGroup in interface TLSLogClientLogExceptionpublic ModifyAlarmNotifyGroupResponse modifyAlarmNotifyGroup(ModifyAlarmNotifyGroupRequest request) throws LogException
modifyAlarmNotifyGroup in interface TLSLogClientLogExceptionpublic DescribeAlarmNotifyGroupsResponse describeAlarmNotifyGroups(DescribeAlarmNotifyGroupsRequest request) throws LogException
describeAlarmNotifyGroups in interface TLSLogClientLogExceptionpublic OpenKafkaConsumerResponse openKafkaConsumer(OpenKafkaConsumerRequest request) throws LogException
TLSLogClientopenKafkaConsumer in interface TLSLogClientLogExceptionpublic CloseKafkaConsumerResponse closeKafkaConsumer(CloseKafkaConsumerRequest request) throws LogException
closeKafkaConsumer in interface TLSLogClientLogExceptionpublic DescribeKafkaConsumerResponse describeKafkaConsumer(DescribeKafkaConsumerRequest request) throws LogException
describeKafkaConsumer in interface TLSLogClientLogExceptionpublic CreateDownloadTaskResponse createDownloadTask(CreateDownloadTaskRequest request) throws LogException
TLSLogClientcreateDownloadTask in interface TLSLogClientLogExceptionpublic DescribeDownloadTasksResponse describeDownloadTasks(DescribeDownloadTasksRequest request) throws LogException
describeDownloadTasks in interface TLSLogClientLogExceptionpublic DescribeDownloadUrlResponse describeDownloadUrl(DescribeDownloadUrlRequest request) throws LogException
describeDownloadUrl in interface TLSLogClientLogExceptionpublic CreateConsumerGroupResponse createConsumerGroup(CreateConsumerGroupRequest request) throws LogException
TLSLogClientcreateConsumerGroup in interface TLSLogClientLogExceptionpublic DeleteConsumerGroupResponse deleteConsumerGroup(DeleteConsumerGroupRequest request) throws LogException
deleteConsumerGroup in interface TLSLogClientLogExceptionpublic ModifyConsumerGroupResponse modifyConsumerGroup(ModifyConsumerGroupRequest request) throws LogException
modifyConsumerGroup in interface TLSLogClientLogExceptionpublic DescribeConsumerGroupsResponse describeConsumerGroups(DescribeConsumerGroupsRequest request) throws LogException
describeConsumerGroups in interface TLSLogClientLogExceptionpublic ConsumerHeartbeatResponse consumerHeartbeat(ConsumerHeartbeatRequest request) throws LogException
consumerHeartbeat in interface TLSLogClientLogExceptionpublic DescribeCheckpointResponse describeCheckPoint(DescribeCheckpointRequest request) throws LogException
describeCheckPoint in interface TLSLogClientLogExceptionpublic ModifyCheckpointResponse modifyCheckPoint(ModifyCheckpointRequest request) throws LogException
modifyCheckPoint in interface TLSLogClientLogExceptionCopyright © 2025. All rights reserved.