public class CreateMailProfileRequest extends AbstractModel
Constructor and Description |
---|
CreateMailProfileRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getBindInstanceIds()
Get Instance ID bound to the configuration, which is set when the configuration level is "Instance".
|
String |
getProduct()
Get Service type.
|
ProfileInfo |
getProfileInfo()
Get The content of email configuration.
|
String |
getProfileLevel()
Get Configuration level.
|
String |
getProfileName()
Get Name configuration, which needs to be unique.
|
String |
getProfileType()
Get Configuration type.
|
void |
setBindInstanceIds(String[] BindInstanceIds)
Set Instance ID bound to the configuration, which is set when the configuration level is "Instance".
|
void |
setProduct(String Product)
Set Service type.
|
void |
setProfileInfo(ProfileInfo ProfileInfo)
Set The content of email configuration.
|
void |
setProfileLevel(String ProfileLevel)
Set Configuration level.
|
void |
setProfileName(String ProfileName)
Set Name configuration, which needs to be unique.
|
void |
setProfileType(String ProfileType)
Set Configuration type.
|
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 ProfileInfo getProfileInfo()
public void setProfileInfo(ProfileInfo ProfileInfo)
ProfileInfo
- The content of email configuration.public String getProfileLevel()
public void setProfileLevel(String ProfileLevel)
ProfileLevel
- Configuration level. Valid values: "User" (user-level), "Instance" (instance-level). The email of database inspection report is configured as the user level, and the email of scheduled task report is configured as the instance level.public String getProfileName()
public void setProfileName(String ProfileName)
ProfileName
- Name configuration, which needs to be unique. The email configuration name of database inspection report can be customize; the email configuration name of scheduled task report should in the format of "scheduler_" + {instanceId}, such as "schduler_cdb-test".public String getProfileType()
public void setProfileType(String ProfileType)
ProfileType
- Configuration type. Valid values: "dbScan_mail_configuration" (email configuration of database inspection report), "scheduler_mail_configuration" (email configuration of scheduled task report).public String getProduct()
public void setProduct(String Product)
Product
- Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TencentDB for CynosDB (compatible with MySQL)).public String[] getBindInstanceIds()
public void setBindInstanceIds(String[] BindInstanceIds)
BindInstanceIds
- Instance ID bound to the configuration, which is set when the configuration level is "Instance".Copyright © 2021. All rights reserved.