public class ShipperInfo extends AbstractModel
header, skipSign
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 |
getEndTime()
Get End time for data shipping
Note: This field may return null, indicating that no valid values can be obtained.
|
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 |
getHistoryStatus()
Get Status of historical data shipping.
|
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
|
Float |
getProgress()
Get Progress of historical data shipping (valid only when the selected data scope contains historical data)
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getRemainTime()
Get Remaining time required for shipping all historical data (valid only when the selected data scope contains historical data)
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getShipperId()
Get Shipping rule ID
|
String |
getShipperName()
Get Shipping rule name
|
Long |
getStartTime()
Get Start time for data shipping
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getStatus()
Get Whether it takes effect
|
String |
getStorageType()
Get COS bucket type
Note: This field may return null, indicating that no valid values can be obtained.
|
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 |
setEndTime(Long EndTime)
Set End time for data shipping
Note: This field may return null, indicating that no valid values can be obtained.
|
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 |
setHistoryStatus(Long HistoryStatus)
Set Status of historical data shipping.
|
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 |
setProgress(Float Progress)
Set Progress of historical data shipping (valid only when the selected data scope contains historical data)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRemainTime(Long RemainTime)
Set Remaining time required for shipping all historical data (valid only when the selected data scope contains historical data)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setShipperId(String ShipperId)
Set Shipping rule ID
|
void |
setShipperName(String ShipperName)
Set Shipping rule name
|
void |
setStartTime(Long StartTime)
Set Start time for data shipping
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(Boolean Status)
Set Whether it takes effect
|
void |
setStorageType(String StorageType)
Set COS bucket type
Note: This field may return null, indicating that no valid values can be obtained.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Start time for data shipping
Note: This field may return null, indicating that no valid values can be obtained.public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- End time for data shipping
Note: This field may return null, indicating that no valid values can be obtained.public Float getProgress()
public void setProgress(Float Progress)
Progress
- Progress of historical data shipping (valid only when the selected data scope contains historical data)
Note: This field may return null, indicating that no valid values can be obtained.public Long getRemainTime()
public void setRemainTime(Long RemainTime)
RemainTime
- Remaining time required for shipping all historical data (valid only when the selected data scope contains historical data)
Note: This field may return null, indicating that no valid values can be obtained.public Long getHistoryStatus()
public void setHistoryStatus(Long HistoryStatus)
HistoryStatus
- Status of historical data shipping. Valid values:
0: Real-time data is being shipped.
1: The system is preparing for historical data shipping.
2: Historical data is being shipped.
3: An error occurred while shipping historical data.
4: Historical data shipping ended.
Note: This field may return null, indicating that no valid values can be obtained.public String getStorageType()
public void setStorageType(String StorageType)
StorageType
- COS bucket type
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.