MessageContactProps
Properties for defining a MessageContact.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-messagecontact
Initializer
import com.aliyun.ros.cdk.resourcemanager.MessageContactProps;
MessageContactProps.builder()
.emailAddress(java.lang.String)
.emailAddress(IResolvable)
.messageContactName(java.lang.String)
.messageContactName(IResolvable)
.messageTypes(IResolvable)
.messageTypes(java.util.List<java.lang.String)
.messageTypes(IResolvable>)
.title(java.lang.String)
.title(IResolvable)
// .phoneNumber(java.lang.String)
// .phoneNumber(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
emailAddress | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property emailAddress: The email address of the contact. |
messageContactName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property messageContactName: The name of the contact. |
messageTypes | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property messageTypes: The types of messages received by the contact. |
title | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property title: The job title of the contact. |
phoneNumber | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property phoneNumber: The mobile phone number of the contact. |
emailAddressRequired
public java.lang.Object getEmailAddress();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property emailAddress: The email address of the contact.
messageContactNameRequired
public java.lang.Object getMessageContactName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property messageContactName: The name of the contact.
The name must be unique in your resource directory. The name must be 2 to 12 characters in length and can contain only letters.
messageTypesRequired
public java.lang.Object getMessageTypes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property messageTypes: The types of messages received by the contact.
titleRequired
public java.lang.Object getTitle();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property title: The job title of the contact.
Valid values:
- FinanceDirector.
- TechnicalDirector.
- MaintenanceDirector.
- CEO.
- ProjectDirector.
- Other.
phoneNumberOptional
public java.lang.Object getPhoneNumber();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property phoneNumber: The mobile phone number of the contact.