Class ListTemplateVersionsRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListTemplateVersionsRequest.Builder,ListTemplateVersionsRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListTemplateVersionsRequest extends PinpointRequest implements ToCopyableBuilder<ListTemplateVersionsRequest.Builder,ListTemplateVersionsRequest>
  • Method Details

    • nextToken

      public final String nextToken()

      The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

      Returns:
      The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
    • pageSize

      public final String pageSize()

      The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

      Returns:
      The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
    • templateName

      public final String templateName()

      The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

      Returns:
      The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
    • templateType

      public final String templateType()

      The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.

      Returns:
      The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListTemplateVersionsRequest.Builder,ListTemplateVersionsRequest>
      Specified by:
      toBuilder in class PinpointRequest
    • builder

      public static ListTemplateVersionsRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListTemplateVersionsRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo