Class OutboundEmailContent
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.OutboundEmailContent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OutboundEmailContent.Builder,OutboundEmailContent>
@Generated("software.amazon.awssdk:codegen") public final class OutboundEmailContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OutboundEmailContent.Builder,OutboundEmailContent>
Information about email body content.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOutboundEmailContent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutboundEmailContent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OutboundMessageSourceTypemessageSourceType()The message source type, that is,RAWorTEMPLATE.StringmessageSourceTypeAsString()The message source type, that is,RAWorTEMPLATE.OutboundRawMessagerawMessage()The raw email body content.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OutboundEmailContent.Builder>serializableBuilderClass()TemplatedMessageConfigtemplatedMessageConfig()Information about template message configuration.OutboundEmailContent.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
-
messageSourceType
public final OutboundMessageSourceType messageSourceType()
The message source type, that is,
RAWorTEMPLATE.If the service returns an enum value that is not available in the current SDK version,
messageSourceTypewill returnOutboundMessageSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommessageSourceTypeAsString().- Returns:
- The message source type, that is,
RAWorTEMPLATE. - See Also:
OutboundMessageSourceType
-
messageSourceTypeAsString
public final String messageSourceTypeAsString()
The message source type, that is,
RAWorTEMPLATE.If the service returns an enum value that is not available in the current SDK version,
messageSourceTypewill returnOutboundMessageSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommessageSourceTypeAsString().- Returns:
- The message source type, that is,
RAWorTEMPLATE. - See Also:
OutboundMessageSourceType
-
templatedMessageConfig
public final TemplatedMessageConfig templatedMessageConfig()
Information about template message configuration.
- Returns:
- Information about template message configuration.
-
rawMessage
public final OutboundRawMessage rawMessage()
The raw email body content.
- Returns:
- The raw email body content.
-
toBuilder
public OutboundEmailContent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OutboundEmailContent.Builder,OutboundEmailContent>
-
builder
public static OutboundEmailContent.Builder builder()
-
serializableBuilderClass
public static Class<? extends OutboundEmailContent.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-