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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends TemplateActiveVersionRequest.Builder>final StringtoString()Returns a string representation of this object.final 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, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<TemplateActiveVersionRequest.Builder,TemplateActiveVersionRequest>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-