Class SendNotificationActionDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.SendNotificationActionDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SendNotificationActionDefinition.Builder,SendNotificationActionDefinition>
@Generated("software.amazon.awssdk:codegen") public final class SendNotificationActionDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SendNotificationActionDefinition.Builder,SendNotificationActionDefinition>
Information about the send notification action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendNotificationActionDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendNotificationActionDefinition.Builderbuilder()Stringcontent()Notification content.NotificationContentTypecontentType()Content type format.StringcontentTypeAsString()Content type format.NotificationDeliveryTypedeliveryMethod()Notification delivery method.StringdeliveryMethodAsString()Notification delivery method.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotificationRecipientTyperecipient()Notification recipient.List<SdkField<?>>sdkFields()static Class<? extends SendNotificationActionDefinition.Builder>serializableBuilderClass()Stringsubject()The subject of the email if the delivery method isEMAIL.SendNotificationActionDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deliveryMethod
public final NotificationDeliveryType deliveryMethod()
Notification delivery method.
If the service returns an enum value that is not available in the current SDK version,
deliveryMethodwill returnNotificationDeliveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeliveryMethodAsString().- Returns:
- Notification delivery method.
- See Also:
NotificationDeliveryType
-
deliveryMethodAsString
public final String deliveryMethodAsString()
Notification delivery method.
If the service returns an enum value that is not available in the current SDK version,
deliveryMethodwill returnNotificationDeliveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeliveryMethodAsString().- Returns:
- Notification delivery method.
- See Also:
NotificationDeliveryType
-
subject
public 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.- Returns:
- 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.
-
content
public final String content()
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
- Returns:
- Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
-
contentType
public final NotificationContentType contentType()
Content type format.
If the service returns an enum value that is not available in the current SDK version,
contentTypewill returnNotificationContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentTypeAsString().- Returns:
- Content type format.
- See Also:
NotificationContentType
-
contentTypeAsString
public final String contentTypeAsString()
Content type format.
If the service returns an enum value that is not available in the current SDK version,
contentTypewill returnNotificationContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentTypeAsString().- Returns:
- Content type format.
- See Also:
NotificationContentType
-
recipient
public final NotificationRecipientType recipient()
Notification recipient.
- Returns:
- Notification recipient.
-
toBuilder
public SendNotificationActionDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendNotificationActionDefinition.Builder,SendNotificationActionDefinition>
-
builder
public static SendNotificationActionDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendNotificationActionDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-