Interface ListTemplatesRequest.Builder

    • Method Detail

      • nextToken

        ListTemplatesRequest.Builder nextToken​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • pageSize

        ListTemplatesRequest.Builder pageSize​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • prefix

        ListTemplatesRequest.Builder prefix​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • templateType

        ListTemplatesRequest.Builder templateType​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.