public class ModifyDBInstanceLogToCLSRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyDBInstanceLogToCLSRequest() |
ModifyDBInstanceLogToCLSRequest(ModifyDBInstanceLogToCLSRequest 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 |
---|---|
Boolean |
getCreateIndex()
Get Indicates whether to create an index when creating the log topic.
|
Boolean |
getCreateLogset()
Get Indicates whether a log set needs to be created.
|
Boolean |
getCreateLogTopic()
Get Indicates whether a log topic needs to be created.
|
String |
getInstanceId()
Get Instance ID.
|
String |
getLogset()
Get Log set name if the log set is to be created or ID of the selected existing log set.
|
String |
getLogTopic()
Get Log topic name if the topic is to be created or ID of the selected existing topic.
|
String |
getLogType()
Get Log type.
|
Long |
getPeriod()
Get Log topic validity period, which is 30 days by default if not specified.
|
String |
getStatus()
Get Enabling status.
|
void |
setCreateIndex(Boolean CreateIndex)
Set Indicates whether to create an index when creating the log topic.
|
void |
setCreateLogset(Boolean CreateLogset)
Set Indicates whether a log set needs to be created.
|
void |
setCreateLogTopic(Boolean CreateLogTopic)
Set Indicates whether a log topic needs to be created.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setLogset(String Logset)
Set Log set name if the log set is to be created or ID of the selected existing log set.
|
void |
setLogTopic(String LogTopic)
Set Log topic name if the topic is to be created or ID of the selected existing topic.
|
void |
setLogType(String LogType)
Set Log type.
|
void |
setPeriod(Long Period)
Set Log topic validity period, which is 30 days by default if not specified.
|
void |
setStatus(String Status)
Set Enabling status.
|
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 ModifyDBInstanceLogToCLSRequest()
public ModifyDBInstanceLogToCLSRequest(ModifyDBInstanceLogToCLSRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public String getLogType()
public void setLogType(String LogType)
LogType
- Log type. Valid values: error and slowLog.public String getStatus()
public void setStatus(String Status)
Status
- Enabling status. Valid values: ON and OFF.public Boolean getCreateLogset()
public void setCreateLogset(Boolean CreateLogset)
CreateLogset
- Indicates whether a log set needs to be created.public String getLogset()
public void setLogset(String Logset)
Logset
- Log set name if the log set is to be created or ID of the selected existing log set.public Boolean getCreateLogTopic()
public void setCreateLogTopic(Boolean CreateLogTopic)
CreateLogTopic
- Indicates whether a log topic needs to be created.public String getLogTopic()
public void setLogTopic(String LogTopic)
LogTopic
- Log topic name if the topic is to be created or ID of the selected existing topic.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Log topic validity period, which is 30 days by default if not specified.public Boolean getCreateIndex()
public void setCreateIndex(Boolean CreateIndex)
CreateIndex
- Indicates whether to create an index when creating the log topic.Copyright © 2024. All rights reserved.