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 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 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 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 CreateMailProfileRequest()
public CreateMailProfileRequest(CreateMailProfileRequest source)
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 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 © 2021. All rights reserved.