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 required when the configuration level is `Instance`.
|
String |
getProduct()
Get Service type.
|
ProfileInfo |
getProfileInfo()
Get Email configurations
|
String |
getProfileLevel()
Get Configuration level.
|
String |
getProfileName()
Get Configuration name, which needs to be unique.
|
String |
getProfileType()
Get Configuration type.
|
void |
setBindInstanceIds(String[] BindInstanceIds)
Set Instance ID bound to the configuration, which is required when the configuration level is `Instance`.
|
void |
setProduct(String Product)
Set Service type.
|
void |
setProfileInfo(ProfileInfo ProfileInfo)
Set Email configurations
|
void |
setProfileLevel(String ProfileLevel)
Set Configuration level.
|
void |
setProfileName(String ProfileName)
Set Configuration name, 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
- Email configurationspublic String getProfileLevel()
public void setProfileLevel(String ProfileLevel)
ProfileLevel
- Configuration level. Valid values: "User" (user-level), "Instance" (instance-level). For database inspection report, it should be `User`; and for scheduled task reports, it should be `Instance`.public String getProfileName()
public void setProfileName(String ProfileName)
ProfileName
- Configuration name, which needs to be unique. For database inspection reports, this name can be customize as needed. For scheduled task reports, the name should be 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 required when the configuration level is `Instance`.Copyright © 2021. All rights reserved.