Interface ListTemplatesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListTemplatesRequest.Builder,ListTemplatesRequest>, PinpointRequest.Builder, SdkBuilder<ListTemplatesRequest.Builder,ListTemplatesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListTemplatesRequest

public static interface ListTemplatesRequest.Builder extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<ListTemplatesRequest.Builder,ListTemplatesRequest>
  • Method Details

    • 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

      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

      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.
    • overrideConfiguration

      ListTemplatesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.