Class ListTemplatesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pinpoint.model.PinpointRequest
-
- software.amazon.awssdk.services.pinpoint.model.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTemplatesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTemplatesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnextToken()The string that specifies which page of results to return in a paginated response.StringpageSize()The maximum number of items to include in each page of a paginated response.Stringprefix()The substring to match in the names of the message templates to include in the results.List<SdkField<?>>sdkFields()static Class<? extends ListTemplatesRequest.Builder>serializableBuilderClass()StringtemplateType()The type of message template to include in the results.ListTemplatesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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:
toBuilderin interfaceToCopyableBuilder<ListTemplatesRequest.Builder,ListTemplatesRequest>- Specified by:
toBuilderin classPinpointRequest
-
builder
public static ListTemplatesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTemplatesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-