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)
TLSLogClient
configClient
in interface TLSLogClient
public void resetAccessKeyToken(String accessKeyID, String accessKeySecret, String securityToken)
resetAccessKeyToken
in interface TLSLogClient
public void setTimeout(int socketTimeout, int connectionTimeout)
setTimeout
in interface TLSLogClient
socketTimeout
- time msconnectionTimeout
- time mspublic PutLogsResponse putLogs(PutLogsRequest request) throws LogException
TLSLogClient
putLogs
in interface TLSLogClient
LogException
public PutLogsResponse putLogsV2(PutLogsRequestV2 request) throws LogException
putLogsV2
in interface TLSLogClient
LogException
public DescribeCursorResponse describeCursor(DescribeCursorRequest request) throws LogException
describeCursor
in interface TLSLogClient
LogException
public ConsumeLogsResponse consumeLogs(ConsumeLogsRequest request) throws LogException
consumeLogs
in interface TLSLogClient
LogException
public SearchLogsResponse searchLogs(SearchLogsRequest request) throws LogException
searchLogs
in interface TLSLogClient
LogException
public DescribeShardsResponse describeShards(DescribeShardsRequest request) throws LogException
describeShards
in interface TLSLogClient
LogException
public DescribeLogContextResponse describeLogContext(DescribeLogContextRequest request) throws LogException
describeLogContext
in interface TLSLogClient
LogException
public WebTracksResponse webTracks(WebTracksRequest request) throws LogException
webTracks
in interface TLSLogClient
LogException
public DescribeHistogramResponse describeHistogram(DescribeHistogramRequest request) throws LogException
describeHistogram
in interface TLSLogClient
LogException
public CreateProjectResponse createProject(CreateProjectRequest request) throws LogException
TLSLogClient
createProject
in interface TLSLogClient
request:projectName、region
- are required,description of project is optionalLogException
public DeleteProjectResponse deleteProject(DeleteProjectRequest request) throws LogException
deleteProject
in interface TLSLogClient
request:projectId
- is requiredLogException
public ModifyProjectResponse modifyProject(ModifyProjectRequest request) throws LogException
modifyProject
in interface TLSLogClient
request:projectId
- required,name and description optionalLogException
public DescribeProjectResponse describeProject(DescribeProjectRequest request) throws LogException
describeProject
in interface TLSLogClient
request:requestId
- is requiredProjectInfo
LogException
public DescribeProjectsResponse describeProjects(DescribeProjectsRequest request) throws LogException
describeProjects
in interface TLSLogClient
request
- isFullName:true for exactly match , false for fuzzy match
project id or name、page size and number are all optional detail see
DescribeProjectsRequest
ProjectInfo
and project countLogException
public CreateTopicResponse createTopic(CreateTopicRequest request) throws LogException
TLSLogClient
createTopic
in interface TLSLogClient
LogException
public DeleteTopicResponse deleteTopic(DeleteTopicRequest request) throws LogException
deleteTopic
in interface TLSLogClient
LogException
public ModifyTopicResponse modifyTopic(ModifyTopicRequest request) throws LogException
modifyTopic
in interface TLSLogClient
LogException
public DescribeTopicResponse describeTopic(DescribeTopicRequest request) throws LogException
describeTopic
in interface TLSLogClient
LogException
public DescribeTopicsResponse describeTopics(DescribeTopicsRequest request) throws LogException
describeTopics
in interface TLSLogClient
LogException
public CreateIndexResponse createIndex(CreateIndexRequest request) throws LogException
TLSLogClient
createIndex
in interface TLSLogClient
LogException
public DeleteIndexResponse deleteIndex(DeleteIndexRequest request) throws LogException
deleteIndex
in interface TLSLogClient
LogException
public ModifyIndexResponse modifyIndex(ModifyIndexRequest request) throws LogException
modifyIndex
in interface TLSLogClient
LogException
public DescribeIndexResponse describeIndex(DescribeIndexRequest request) throws LogException
describeIndex
in interface TLSLogClient
LogException
public CreateRuleResponse createRule(CreateRuleRequest request) throws LogException
TLSLogClient
createRule
in interface TLSLogClient
LogException
public DeleteRuleResponse deleteRule(DeleteRuleRequest request) throws LogException
deleteRule
in interface TLSLogClient
LogException
public ModifyRuleResponse modifyRule(ModifyRuleRequest request) throws LogException
modifyRule
in interface TLSLogClient
LogException
public DescribeRuleResponse describeRule(DescribeRuleRequest request) throws LogException
describeRule
in interface TLSLogClient
LogException
public DescribeRulesResponse describeRules(DescribeRulesRequest request) throws LogException
describeRules
in interface TLSLogClient
LogException
public ApplyRuleToHostGroupsResponse applyRuleToHostGroups(ApplyRuleToHostGroupsRequest request) throws LogException
applyRuleToHostGroups
in interface TLSLogClient
LogException
public DeleteRuleFromHostGroupsResponse deleteRuleFromHostGroups(DeleteRuleFromHostGroupsRequest request) throws LogException
deleteRuleFromHostGroups
in interface TLSLogClient
LogException
public CreateHostGroupResponse createHostGroup(CreateHostGroupRequest request) throws LogException
TLSLogClient
createHostGroup
in interface TLSLogClient
LogException
public DeleteHostGroupResponse deleteHostGroup(DeleteHostGroupRequest request) throws LogException
deleteHostGroup
in interface TLSLogClient
LogException
public ModifyHostGroupResponse modifyHostGroup(ModifyHostGroupRequest request) throws LogException
modifyHostGroup
in interface TLSLogClient
LogException
public DescribeHostGroupResponse describeHostGroup(DescribeHostGroupRequest request) throws LogException
describeHostGroup
in interface TLSLogClient
LogException
public DescribeHostGroupsResponse describeHostGroups(DescribeHostGroupsRequest request) throws LogException
describeHostGroups
in interface TLSLogClient
LogException
public DescribeHostsResponse describeHosts(DescribeHostsRequest request) throws LogException
describeHosts
in interface TLSLogClient
LogException
public DeleteHostResponse deleteHost(DeleteHostRequest request) throws LogException
deleteHost
in interface TLSLogClient
LogException
public DescribeHostGroupRulesResponse describeHostGroupRules(DescribeHostGroupRulesRequest request) throws LogException
describeHostGroupRules
in interface TLSLogClient
LogException
public ModifyHostGroupsAutoUpdateResponse modifyHostGroupsAutoUpdate(ModifyHostGroupsAutoUpdateRequest request) throws LogException
modifyHostGroupsAutoUpdate
in interface TLSLogClient
LogException
public CreateAlarmResponse createAlarm(CreateAlarmRequest request) throws LogException
TLSLogClient
createAlarm
in interface TLSLogClient
LogException
public DeleteAlarmResponse deleteAlarm(DeleteAlarmRequest request) throws LogException
deleteAlarm
in interface TLSLogClient
LogException
public ModifyAlarmResponse modifyAlarm(ModifyAlarmRequest request) throws LogException
modifyAlarm
in interface TLSLogClient
LogException
public DescribeAlarmsResponse describeAlarms(DescribeAlarmsRequest request) throws LogException
describeAlarms
in interface TLSLogClient
LogException
public CreateAlarmNotifyGroupResponse createAlarmNotifyGroup(CreateAlarmNotifyGroupRequest request) throws LogException
createAlarmNotifyGroup
in interface TLSLogClient
LogException
public DeleteAlarmNotifyGroupResponse deleteAlarmNotifyGroup(DeleteAlarmNotifyGroupRequest request) throws LogException
deleteAlarmNotifyGroup
in interface TLSLogClient
LogException
public ModifyAlarmNotifyGroupResponse modifyAlarmNotifyGroup(ModifyAlarmNotifyGroupRequest request) throws LogException
modifyAlarmNotifyGroup
in interface TLSLogClient
LogException
public DescribeAlarmNotifyGroupsResponse describeAlarmNotifyGroups(DescribeAlarmNotifyGroupsRequest request) throws LogException
describeAlarmNotifyGroups
in interface TLSLogClient
LogException
public OpenKafkaConsumerResponse openKafkaConsumer(OpenKafkaConsumerRequest request) throws LogException
TLSLogClient
openKafkaConsumer
in interface TLSLogClient
LogException
public CloseKafkaConsumerResponse closeKafkaConsumer(CloseKafkaConsumerRequest request) throws LogException
closeKafkaConsumer
in interface TLSLogClient
LogException
public DescribeKafkaConsumerResponse describeKafkaConsumer(DescribeKafkaConsumerRequest request) throws LogException
describeKafkaConsumer
in interface TLSLogClient
LogException
public CreateDownloadTaskResponse createDownloadTask(CreateDownloadTaskRequest request) throws LogException
TLSLogClient
createDownloadTask
in interface TLSLogClient
LogException
public DescribeDownloadTasksResponse describeDownloadTasks(DescribeDownloadTasksRequest request) throws LogException
describeDownloadTasks
in interface TLSLogClient
LogException
public DescribeDownloadUrlResponse describeDownloadUrl(DescribeDownloadUrlRequest request) throws LogException
describeDownloadUrl
in interface TLSLogClient
LogException
Copyright © 2023. All rights reserved.