Class Template
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointemail.model.Template
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Template.Builder,Template>
@Generated("software.amazon.awssdk:codegen") public final class Template extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Template.Builder,Template>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTemplate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Template.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Template.Builder>serializableBuilderClass()StringtemplateArn()The Amazon Resource Name (ARN) of the template.StringtemplateData()An object that defines the values to use for message variables in the template.Template.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
-
templateArn
public final String templateArn()
The Amazon Resource Name (ARN) of the template.
- Returns:
- The Amazon Resource Name (ARN) of the template.
-
templateData
public final String templateData()
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
- Returns:
- An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
-
toBuilder
public Template.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Template.Builder,Template>
-
builder
public static Template.Builder builder()
-
serializableBuilderClass
public static Class<? extends Template.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
-
-