public class CreateMailProfileRequest extends AbstractModel
Constructor and Description |
---|
CreateMailProfileRequest() |
CreateMailProfileRequest(CreateMailProfileRequest 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[] |
getBindInstanceIds()
Get Instance ID bound with the configuration, which is set when the configuration level is `Instance`.
|
String |
getProduct()
Get Service type.
|
ProfileInfo |
getProfileInfo()
Get Email configuration.
|
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 with the configuration, which is set when the configuration level is `Instance`.
|
void |
setProduct(String Product)
Set Service type.
|
void |
setProfileInfo(ProfileInfo ProfileInfo)
Set Email configuration.
|
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 CreateMailProfileRequest()
public CreateMailProfileRequest(CreateMailProfileRequest source)
public ProfileInfo getProfileInfo()
public void setProfileInfo(ProfileInfo ProfileInfo)
ProfileInfo
- Email configuration.public String getProfileLevel()
public void setProfileLevel(String ProfileLevel)
ProfileLevel
- Configuration level. Valid values: `User` (user-level), `Instance` (instance-level). For database inspection emails, it should be `User`. For scheduled task emails, it should be `Instance`.public String getProfileName()
public void setProfileName(String ProfileName)
ProfileName
- Configuration name, which needs to be unique. For database inspection emails, this name can be customized as needed. For scheduled task emails, 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 the database inspection report), `scheduler_mail_configuration` (email configuration of the scheduled task report).public String getProduct()
public void setProduct(String Product)
Product
- Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL).public String[] getBindInstanceIds()
public void setBindInstanceIds(String[] BindInstanceIds)
BindInstanceIds
- Instance ID bound with the configuration, which is set when the configuration level is `Instance`. Only one instance can be bound at a time. When the configuration level is `User`, leave this parameter empty.Copyright © 2023. All rights reserved.