public class SendNotificationActionDefinition
extends java.lang.Object
implements java.io.Serializable
Information about the send notification action.
| Constructor and Description |
|---|
SendNotificationActionDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent()
Notification content.
|
java.lang.String |
getContentType()
Content type format.
|
java.lang.String |
getDeliveryMethod()
Notification delivery method.
|
NotificationRecipientType |
getRecipient()
Notification recipient.
|
java.lang.String |
getSubject()
The subject of the email if the delivery method is
EMAIL. |
int |
hashCode() |
void |
setContent(java.lang.String content)
Notification content.
|
void |
setContentType(NotificationContentType contentType)
Content type format.
|
void |
setContentType(java.lang.String contentType)
Content type format.
|
void |
setDeliveryMethod(NotificationDeliveryType deliveryMethod)
Notification delivery method.
|
void |
setDeliveryMethod(java.lang.String deliveryMethod)
Notification delivery method.
|
void |
setRecipient(NotificationRecipientType recipient)
Notification recipient.
|
void |
setSubject(java.lang.String subject)
The subject of the email if the delivery method is
EMAIL. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendNotificationActionDefinition |
withContent(java.lang.String content)
Notification content.
|
SendNotificationActionDefinition |
withContentType(NotificationContentType contentType)
Content type format.
|
SendNotificationActionDefinition |
withContentType(java.lang.String contentType)
Content type format.
|
SendNotificationActionDefinition |
withDeliveryMethod(NotificationDeliveryType deliveryMethod)
Notification delivery method.
|
SendNotificationActionDefinition |
withDeliveryMethod(java.lang.String deliveryMethod)
Notification delivery method.
|
SendNotificationActionDefinition |
withRecipient(NotificationRecipientType recipient)
Notification recipient.
|
SendNotificationActionDefinition |
withSubject(java.lang.String subject)
The subject of the email if the delivery method is
EMAIL. |
public java.lang.String getDeliveryMethod()
Notification delivery method.
Constraints:
Allowed Values: EMAIL
Notification delivery method.
NotificationDeliveryTypepublic void setDeliveryMethod(java.lang.String deliveryMethod)
Notification delivery method.
Constraints:
Allowed Values: EMAIL
deliveryMethod - Notification delivery method.
NotificationDeliveryTypepublic SendNotificationActionDefinition withDeliveryMethod(java.lang.String deliveryMethod)
Notification delivery method.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EMAIL
deliveryMethod - Notification delivery method.
NotificationDeliveryTypepublic void setDeliveryMethod(NotificationDeliveryType deliveryMethod)
Notification delivery method.
Constraints:
Allowed Values: EMAIL
deliveryMethod - Notification delivery method.
NotificationDeliveryTypepublic SendNotificationActionDefinition withDeliveryMethod(NotificationDeliveryType deliveryMethod)
Notification delivery method.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EMAIL
deliveryMethod - Notification delivery method.
NotificationDeliveryTypepublic java.lang.String getSubject()
The subject of the email if the delivery method is EMAIL.
Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators
Guide.
Constraints:
Length: 1 - 200
The subject of the email if the delivery method is
EMAIL. Supports variable injection. For more
information, see JSONPath reference in the Amazon Connect Administrators
Guide.
public void setSubject(java.lang.String subject)
The subject of the email if the delivery method is EMAIL.
Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators
Guide.
Constraints:
Length: 1 - 200
subject -
The subject of the email if the delivery method is
EMAIL. Supports variable injection. For more
information, see JSONPath reference in the Amazon Connect
Administrators Guide.
public SendNotificationActionDefinition withSubject(java.lang.String subject)
The subject of the email if the delivery method is EMAIL.
Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators
Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
subject -
The subject of the email if the delivery method is
EMAIL. Supports variable injection. For more
information, see JSONPath reference in the Amazon Connect
Administrators Guide.
public java.lang.String getContent()
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Constraints:
Length: 1 - 1024
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public void setContent(java.lang.String content)
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Constraints:
Length: 1 - 1024
content - Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public SendNotificationActionDefinition withContent(java.lang.String content)
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
content - Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public java.lang.String getContentType()
Content type format.
Constraints:
Allowed Values: PLAIN_TEXT
Content type format.
NotificationContentTypepublic void setContentType(java.lang.String contentType)
Content type format.
Constraints:
Allowed Values: PLAIN_TEXT
contentType - Content type format.
NotificationContentTypepublic SendNotificationActionDefinition withContentType(java.lang.String contentType)
Content type format.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PLAIN_TEXT
contentType - Content type format.
NotificationContentTypepublic void setContentType(NotificationContentType contentType)
Content type format.
Constraints:
Allowed Values: PLAIN_TEXT
contentType - Content type format.
NotificationContentTypepublic SendNotificationActionDefinition withContentType(NotificationContentType contentType)
Content type format.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PLAIN_TEXT
contentType - Content type format.
NotificationContentTypepublic NotificationRecipientType getRecipient()
Notification recipient.
Notification recipient.
public void setRecipient(NotificationRecipientType recipient)
Notification recipient.
recipient - Notification recipient.
public SendNotificationActionDefinition withRecipient(NotificationRecipientType recipient)
Notification recipient.
Returns a reference to this object so that method calls can be chained together.
recipient - Notification recipient.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object