Class ListTemplatesRequest

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

@Generated("software.amazon.awssdk:codegen") public final class ListTemplatesRequest extends PinpointRequest implements ToCopyableBuilder<ListTemplatesRequest.Builder,ListTemplatesRequest>
  • 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.
    • prefix

      public final String prefix()

      The substring to match in the names of the message templates to include in the results. If you specify this value, Amazon Pinpoint returns only those templates whose names begin with the value that you specify.

      Returns:
      The substring to match in the names of the message templates to include in the results. If you specify this value, Amazon Pinpoint returns only those templates whose names begin with the value that you specify.
    • templateType

      public final String templateType()

      The type of message template to include in the results. Valid values are: EMAIL, PUSH, SMS, and VOICE. To include all types of templates in the results, don't include this parameter in your request.

      Returns:
      The type of message template to include in the results. Valid values are: EMAIL, PUSH, SMS, and VOICE. To include all types of templates in the results, don't include this parameter in your request.
    • toBuilder

      public ListTemplatesRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ListTemplatesRequest.Builder,ListTemplatesRequest>
      Specified by:
      toBuilder in class PinpointRequest
    • builder

      public static ListTemplatesRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListTemplatesRequest.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