Class TemplateActiveVersionRequest
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.TemplateActiveVersionRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TemplateActiveVersionRequest.Builder,TemplateActiveVersionRequest>
@Generated("software.amazon.awssdk:codegen") public final class TemplateActiveVersionRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateActiveVersionRequest.Builder,TemplateActiveVersionRequest>
Specifies which version of a message template to use as the active version of the template.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTemplateActiveVersionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateActiveVersionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TemplateActiveVersionRequest.Builder>serializableBuilderClass()TemplateActiveVersionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()The version of the message template to use as the active version of the template.-
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
-
version
public final String version()
The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
- Returns:
- The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
-
toBuilder
public TemplateActiveVersionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TemplateActiveVersionRequest.Builder,TemplateActiveVersionRequest>
-
builder
public static TemplateActiveVersionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends TemplateActiveVersionRequest.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.
-
-