@Generated(value="software.amazon.awssdk:codegen") public final class SendNotificationActionDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SendNotificationActionDefinition.Builder,SendNotificationActionDefinition>
Information about the send notification action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SendNotificationActionDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SendNotificationActionDefinition.Builder |
builder() |
String |
content()
Notification content.
|
NotificationContentType |
contentType()
Content type format.
|
String |
contentTypeAsString()
Content type format.
|
NotificationDeliveryType |
deliveryMethod()
Notification delivery method.
|
String |
deliveryMethodAsString()
Notification delivery method.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NotificationRecipientType |
recipient()
Notification recipient.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SendNotificationActionDefinition.Builder> |
serializableBuilderClass() |
String |
subject()
The subject of the email if the delivery method is
EMAIL. |
SendNotificationActionDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final NotificationDeliveryType deliveryMethod()
Notification delivery method.
If the service returns an enum value that is not available in the current SDK version, deliveryMethod
will return NotificationDeliveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deliveryMethodAsString().
NotificationDeliveryTypepublic final String deliveryMethodAsString()
Notification delivery method.
If the service returns an enum value that is not available in the current SDK version, deliveryMethod
will return NotificationDeliveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deliveryMethodAsString().
NotificationDeliveryTypepublic final 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.
EMAIL. Supports variable injection. For
more information, see JSONPath reference in the Amazon Connect Administrators Guide.public final String content()
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public final NotificationContentType contentType()
Content type format.
If the service returns an enum value that is not available in the current SDK version, contentType will
return NotificationContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from contentTypeAsString().
NotificationContentTypepublic final String contentTypeAsString()
Content type format.
If the service returns an enum value that is not available in the current SDK version, contentType will
return NotificationContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from contentTypeAsString().
NotificationContentTypepublic final NotificationRecipientType recipient()
Notification recipient.
public SendNotificationActionDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SendNotificationActionDefinition.Builder,SendNotificationActionDefinition>public static SendNotificationActionDefinition.Builder builder()
public static Class<? extends SendNotificationActionDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.