public class AuditInstance extends AbstractModel
header, skipSign
Constructor and Description |
---|
AuditInstance() |
AuditInstance(AuditInstance 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 |
getAuditStatus()
Get Audit status.
|
Long |
getBillingAmount()
Get Audit log size.
|
Long |
getBillingConfirmed()
Get Billing confirmation status.
|
Long |
getColdLogExpireDay()
Get Infrequent access storage period
|
Long |
getColdLogSize()
Get Storage size of infrequently accessed logs in MB
|
String |
getCreateTime()
Get Instance creation time
|
Long |
getHotLogExpireDay()
Get Storage period of frequently accessed logs in days
|
Long |
getHotLogSize()
Get Storage size of frequently accessed logs in MB
|
String |
getInstanceId()
Get Instance ID
|
AuditInstanceInfo |
getInstanceInfo()
Get Instance details
|
Long |
getLogExpireDay()
Get Log retention period in days, which is the sum of the frequent and infrequent access storage periods.
|
void |
setAuditStatus(String AuditStatus)
Set Audit status.
|
void |
setBillingAmount(Long BillingAmount)
Set Audit log size.
|
void |
setBillingConfirmed(Long BillingConfirmed)
Set Billing confirmation status.
|
void |
setColdLogExpireDay(Long ColdLogExpireDay)
Set Infrequent access storage period
|
void |
setColdLogSize(Long ColdLogSize)
Set Storage size of infrequently accessed logs in MB
|
void |
setCreateTime(String CreateTime)
Set Instance creation time
|
void |
setHotLogExpireDay(Long HotLogExpireDay)
Set Storage period of frequently accessed logs in days
|
void |
setHotLogSize(Long HotLogSize)
Set Storage size of frequently accessed logs in MB
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceInfo(AuditInstanceInfo InstanceInfo)
Set Instance details
|
void |
setLogExpireDay(Long LogExpireDay)
Set Log retention period in days, which is the sum of the frequent and infrequent access storage periods.
|
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 AuditInstance()
public AuditInstance(AuditInstance source)
public String getAuditStatus()
public void setAuditStatus(String AuditStatus)
AuditStatus
- Audit status. Valid values: `ON` (Enabled), `OFF` (Not enabled).public Long getBillingAmount()
public void setBillingAmount(Long BillingAmount)
BillingAmount
- Audit log size. This parameter is only used for the free trial edition of Database Audit.public Long getBillingConfirmed()
public void setBillingConfirmed(Long BillingConfirmed)
BillingConfirmed
- Billing confirmation status. Valid values: `0` (Unconfirmed), `1` (Confirmed).public Long getColdLogExpireDay()
public void setColdLogExpireDay(Long ColdLogExpireDay)
ColdLogExpireDay
- Infrequent access storage periodpublic Long getColdLogSize()
public void setColdLogSize(Long ColdLogSize)
ColdLogSize
- Storage size of infrequently accessed logs in MBpublic Long getHotLogExpireDay()
public void setHotLogExpireDay(Long HotLogExpireDay)
HotLogExpireDay
- Storage period of frequently accessed logs in dayspublic Long getHotLogSize()
public void setHotLogSize(Long HotLogSize)
HotLogSize
- Storage size of frequently accessed logs in MBpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic Long getLogExpireDay()
public void setLogExpireDay(Long LogExpireDay)
LogExpireDay
- Log retention period in days, which is the sum of the frequent and infrequent access storage periods.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Instance creation timepublic AuditInstanceInfo getInstanceInfo()
public void setInstanceInfo(AuditInstanceInfo InstanceInfo)
InstanceInfo
- Instance detailsCopyright © 2024. All rights reserved.