public class CreateShipperRequest extends AbstractModel
Constructor and Description |
---|
CreateShipperRequest() |
CreateShipperRequest(CreateShipperRequest 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 |
getBucket()
Get Destination bucket in the shipping rule to be created
|
CompressInfo |
getCompress()
Get Compression configuration of shipped log
|
ContentInfo |
getContent()
Get Format configuration of shipped log content
|
Long |
getFilenameMode()
Get Naming a shipping file.
|
FilterRuleInfo[] |
getFilterRules()
Get Filter rules for shipped logs.
|
Long |
getInterval()
Get Interval between shipping tasks (in sec).
|
Long |
getMaxSize()
Get Maximum size of a file to be shipped, in MB.
|
String |
getPartition()
Get Rules for partitioning logs to be shipped.
|
String |
getPrefix()
Get Prefix of the shipping directory in the shipping rule to be created
|
String |
getShipperName()
Get Shipping rule name
|
String |
getTopicId()
Get ID of the log topic to which the shipping rule to be created belongs
|
void |
setBucket(String Bucket)
Set Destination bucket in the shipping rule to be created
|
void |
setCompress(CompressInfo Compress)
Set Compression configuration of shipped log
|
void |
setContent(ContentInfo Content)
Set Format configuration of shipped log content
|
void |
setFilenameMode(Long FilenameMode)
Set Naming a shipping file.
|
void |
setFilterRules(FilterRuleInfo[] FilterRules)
Set Filter rules for shipped logs.
|
void |
setInterval(Long Interval)
Set Interval between shipping tasks (in sec).
|
void |
setMaxSize(Long MaxSize)
Set Maximum size of a file to be shipped, in MB.
|
void |
setPartition(String Partition)
Set Rules for partitioning logs to be shipped.
|
void |
setPrefix(String Prefix)
Set Prefix of the shipping directory in the shipping rule to be created
|
void |
setShipperName(String ShipperName)
Set Shipping rule name
|
void |
setTopicId(String TopicId)
Set ID of the log topic to which the shipping rule to be created belongs
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateShipperRequest()
public CreateShipperRequest(CreateShipperRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- ID of the log topic to which the shipping rule to be created belongspublic String getBucket()
public void setBucket(String Bucket)
Bucket
- Destination bucket in the shipping rule to be createdpublic String getPrefix()
public void setPrefix(String Prefix)
Prefix
- Prefix of the shipping directory in the shipping rule to be createdpublic String getShipperName()
public void setShipperName(String ShipperName)
ShipperName
- Shipping rule namepublic Long getInterval()
public void setInterval(Long Interval)
Interval
- Interval between shipping tasks (in sec). Default value: 300. Value range: 300-900public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 100-256public FilterRuleInfo[] getFilterRules()
public void setFilterRules(FilterRuleInfo[] FilterRules)
FilterRules
- Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.public String getPartition()
public void setPartition(String Partition)
Partition
- Rules for partitioning logs to be shipped. `strftime` can be used to define the presentation of time format.public CompressInfo getCompress()
public void setCompress(CompressInfo Compress)
Compress
- Compression configuration of shipped logpublic ContentInfo getContent()
public void setContent(ContentInfo Content)
Content
- Format configuration of shipped log contentpublic Long getFilenameMode()
public void setFilenameMode(Long FilenameMode)
FilenameMode
- Naming a shipping file. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`.Copyright © 2023. All rights reserved.