public class CreateRealtimeLogDeliveryTaskRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateRealtimeLogDeliveryTaskRequest() |
CreateRealtimeLogDeliveryTaskRequest(CreateRealtimeLogDeliveryTaskRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getArea()
Get Data area.
|
CLSTopic |
getCLS()
Get Configuration information of CLS.
|
CustomEndpoint |
getCustomEndpoint()
Get Configuration information of the custom HTTP service.
|
CustomField[] |
getCustomFields()
Get The list of custom fields for log delivery, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies.
|
DeliveryCondition[] |
getDeliveryConditions()
Get Filter criteria of log delivery.
|
String[] |
getEntityList()
Get List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log delivery task.
|
String[] |
getFields()
Get List of predefined fields for delivery.
|
LogFormat |
getLogFormat()
Get Output format for log delivery.
|
String |
getLogType()
Get Dataset type.
|
S3 |
getS3()
Get Configuration information of the AWS S3-compatible bucket.
|
Long |
getSample()
Get Sampling ratio in permille.
|
String |
getTaskName()
Get Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).
|
String |
getTaskType()
Get Type of a real-time log delivery task.
|
String |
getZoneId()
Get Zone ID.
|
void |
setArea(String Area)
Set Data area.
|
void |
setCLS(CLSTopic CLS)
Set Configuration information of CLS.
|
void |
setCustomEndpoint(CustomEndpoint CustomEndpoint)
Set Configuration information of the custom HTTP service.
|
void |
setCustomFields(CustomField[] CustomFields)
Set The list of custom fields for log delivery, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies.
|
void |
setDeliveryConditions(DeliveryCondition[] DeliveryConditions)
Set Filter criteria of log delivery.
|
void |
setEntityList(String[] EntityList)
Set List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log delivery task.
|
void |
setFields(String[] Fields)
Set List of predefined fields for delivery.
|
void |
setLogFormat(LogFormat LogFormat)
Set Output format for log delivery.
|
void |
setLogType(String LogType)
Set Dataset type.
|
void |
setS3(S3 S3)
Set Configuration information of the AWS S3-compatible bucket.
|
void |
setSample(Long Sample)
Set Sampling ratio in permille.
|
void |
setTaskName(String TaskName)
Set Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).
|
void |
setTaskType(String TaskType)
Set Type of a real-time log delivery task.
|
void |
setZoneId(String ZoneId)
Set Zone ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateRealtimeLogDeliveryTaskRequest()
public CreateRealtimeLogDeliveryTaskRequest(CreateRealtimeLogDeliveryTaskRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Zone ID.public String getTaskName()
public void setTaskName(String TaskName)
TaskName
- Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).public String getTaskType()
public void setTaskType(String TaskType)
TaskType
- Type of a real-time log delivery task. Valid values:
public String[] getEntityList()
public void setEntityList(String[] EntityList)
EntityList
- List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log delivery task. Valid value examples:
public String getLogType()
public void setLogType(String LogType)
LogType
- Dataset type. Valid values:
public String getArea()
public void setArea(String Area)
Area
- Data area. Valid values:
public String[] getFields()
public void setFields(String[] Fields)
Fields
- List of predefined fields for delivery.public CustomField[] getCustomFields()
public void setCustomFields(CustomField[] CustomFields)
CustomFields
- The list of custom fields for log delivery, which supports extracting specified content from HTTP request headers, response headers, cookies, and request bodies. Custom field names must be unique. The number of custom fields cannot exceed a maximum of 200. A single real-time log delivery task can configure up to 5 custom fields of the request body type. Currently, only site acceleration logs (LogType=domain) support custom fields.public DeliveryCondition[] getDeliveryConditions()
public void setDeliveryConditions(DeliveryCondition[] DeliveryConditions)
DeliveryConditions
- Filter criteria of log delivery. If this parameter is not specified, all logs will be shipped.public Long getSample()
public void setSample(Long Sample)
Sample
- Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not specified, the sampling ratio is 100%.public LogFormat getLogFormat()
public void setLogFormat(LogFormat LogFormat)
LogFormat
- Output format for log delivery. If this field is not specified, the default format is used, which works as follows:
public CLSTopic getCLS()
public void setCLS(CLSTopic CLS)
CLS
- Configuration information of CLS. This parameter is required when TaskType is cls.public CustomEndpoint getCustomEndpoint()
public void setCustomEndpoint(CustomEndpoint CustomEndpoint)
CustomEndpoint
- Configuration information of the custom HTTP service. This parameter is required when TaskType is custom_endpoint.public S3 getS3()
public void setS3(S3 S3)
S3
- Configuration information of the AWS S3-compatible bucket. This parameter is required when TaskType is s3.Copyright © 2025. All rights reserved.