Class ListTemplateVersionsRequest
- 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.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTemplateVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTemplateVersionsRequest.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.List<SdkField<?>>sdkFields()static Class<? extends ListTemplateVersionsRequest.Builder>serializableBuilderClass()StringtemplateName()The name of the message template.StringtemplateType()The type of channel that the message template is designed for.ListTemplateVersionsRequest.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.
-
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
public ListTemplateVersionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTemplateVersionsRequest.Builder,ListTemplateVersionsRequest>- Specified by:
toBuilderin classPinpointRequest
-
builder
public static ListTemplateVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTemplateVersionsRequest.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
-
-