public class ShipperInfo extends AbstractModel
Constructor and Description |
---|
ShipperInfo() |
ShipperInfo(ShipperInfo 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 Bucket address shipped to
|
CompressInfo |
getCompress()
Get Compression configuration of shipped log
Note: this field may return `null`, indicating that no valid values can be obtained.
|
ContentInfo |
getContent()
Get Format configuration of shipped log content
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getCreateTime()
Get Creation time of shipped log
|
Long |
getFilenameMode()
Get Shipping file naming configuration.
|
FilterRuleInfo[] |
getFilterRules()
Get Filter rule for shipped log
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getInterval()
Get Shipping time interval in seconds
|
Long |
getMaxSize()
Get Maximum size of shipped file in MB
|
String |
getPartition()
Get Partition rule of shipped log, which can be represented in `strftime` time format
|
String |
getPrefix()
Get Shipping prefix directory
|
String |
getShipperId()
Get Shipping rule ID
|
String |
getShipperName()
Get Shipping rule name
|
Boolean |
getStatus()
Get Whether it takes effect
|
String |
getTopicId()
Get Log topic ID
|
void |
setBucket(String Bucket)
Set Bucket address shipped to
|
void |
setCompress(CompressInfo Compress)
Set Compression configuration of shipped log
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setContent(ContentInfo Content)
Set Format configuration of shipped log content
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setCreateTime(String CreateTime)
Set Creation time of shipped log
|
void |
setFilenameMode(Long FilenameMode)
Set Shipping file naming configuration.
|
void |
setFilterRules(FilterRuleInfo[] FilterRules)
Set Filter rule for shipped log
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setInterval(Long Interval)
Set Shipping time interval in seconds
|
void |
setMaxSize(Long MaxSize)
Set Maximum size of shipped file in MB
|
void |
setPartition(String Partition)
Set Partition rule of shipped log, which can be represented in `strftime` time format
|
void |
setPrefix(String Prefix)
Set Shipping prefix directory
|
void |
setShipperId(String ShipperId)
Set Shipping rule ID
|
void |
setShipperName(String ShipperName)
Set Shipping rule name
|
void |
setStatus(Boolean Status)
Set Whether it takes effect
|
void |
setTopicId(String TopicId)
Set Log topic ID
|
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 ShipperInfo()
public ShipperInfo(ShipperInfo source)
public String getShipperId()
public void setShipperId(String ShipperId)
ShipperId
- Shipping rule IDpublic String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic IDpublic String getBucket()
public void setBucket(String Bucket)
Bucket
- Bucket address shipped topublic String getPrefix()
public void setPrefix(String Prefix)
Prefix
- Shipping prefix directorypublic String getShipperName()
public void setShipperName(String ShipperName)
ShipperName
- Shipping rule namepublic Long getInterval()
public void setInterval(Long Interval)
Interval
- Shipping time interval in secondspublic Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum size of shipped file in MBpublic Boolean getStatus()
public void setStatus(Boolean Status)
Status
- Whether it takes effectpublic FilterRuleInfo[] getFilterRules()
public void setFilterRules(FilterRuleInfo[] FilterRules)
FilterRules
- Filter rule for shipped log
Note: this field may return `null`, indicating that no valid values can be obtained.public String getPartition()
public void setPartition(String Partition)
Partition
- Partition rule of shipped log, which can be represented in `strftime` time formatpublic CompressInfo getCompress()
public void setCompress(CompressInfo Compress)
Compress
- Compression configuration of shipped log
Note: this field may return `null`, indicating that no valid values can be obtained.public ContentInfo getContent()
public void setContent(ContentInfo Content)
Content
- Format configuration of shipped log content
Note: this field may return `null`, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time of shipped logpublic Long getFilenameMode()
public void setFilenameMode(Long FilenameMode)
FilenameMode
- Shipping file naming configuration. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.