public class ModifyShipperRequest extends AbstractModel
Constructor and Description |
---|
ModifyShipperRequest() |
ModifyShipperRequest(ModifyShipperRequest 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 New destination bucket in shipping rule
|
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 Shipping time interval in seconds.
|
Long |
getMaxSize()
Get Maximum size of a file to be shipped, in MB.
|
String |
getPartition()
Get Partition rule of shipped log, which can be represented in `strftime` time format
|
String |
getPrefix()
Get New destination directory prefix in shipping rule
|
String |
getShipperId()
Get Shipping rule ID
|
String |
getShipperName()
Get Shipping rule name
|
Boolean |
getStatus()
Get Shipping rule status
|
void |
setBucket(String Bucket)
Set New destination bucket in shipping rule
|
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 Shipping time interval in seconds.
|
void |
setMaxSize(Long MaxSize)
Set Maximum size of a file to be shipped, 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 New destination directory prefix in shipping rule
|
void |
setShipperId(String ShipperId)
Set Shipping rule ID
|
void |
setShipperName(String ShipperName)
Set Shipping rule name
|
void |
setStatus(Boolean Status)
Set Shipping rule status
|
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 ModifyShipperRequest()
public ModifyShipperRequest(ModifyShipperRequest source)
public String getShipperId()
public void setShipperId(String ShipperId)
ShipperId
- Shipping rule IDpublic String getBucket()
public void setBucket(String Bucket)
Bucket
- New destination bucket in shipping rulepublic String getPrefix()
public void setPrefix(String Prefix)
Prefix
- New destination directory prefix in shipping rulepublic Boolean getStatus()
public void setStatus(Boolean Status)
Status
- Shipping rule statuspublic String getShipperName()
public void setShipperName(String ShipperName)
ShipperName
- Shipping rule namepublic Long getInterval()
public void setInterval(Long Interval)
Interval
- Shipping time interval in seconds. 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
- 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 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.