@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTemplatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTemplatesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getNextToken()
The string that specifies which page of results to return in a paginated response.
|
String |
getPageSize()
The maximum number of items to include in each page of a paginated response.
|
String |
getPrefix()
The substring to match in the names of the message templates to include in the results.
|
String |
getTemplateType()
The type of message template to include in the results.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The string that specifies which page of results to return in a paginated response.
|
void |
setPageSize(String pageSize)
The maximum number of items to include in each page of a paginated response.
|
void |
setPrefix(String prefix)
The substring to match in the names of the message templates to include in the results.
|
void |
setTemplateType(String templateType)
The type of message template to include in the results.
|
String |
toString()
Returns a string representation of this object.
|
ListTemplatesRequest |
withNextToken(String nextToken)
The string that specifies which page of results to return in a paginated response.
|
ListTemplatesRequest |
withPageSize(String pageSize)
The maximum number of items to include in each page of a paginated response.
|
ListTemplatesRequest |
withPrefix(String prefix)
The substring to match in the names of the message templates to include in the results.
|
ListTemplatesRequest |
withTemplateType(String templateType)
The type of message template to include in the results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(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.
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.public String getNextToken()
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.
public ListTemplatesRequest withNextToken(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.
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.public void setPageSize(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.
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.public String getPageSize()
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.
public ListTemplatesRequest withPageSize(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.
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.public void setPrefix(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.
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.public String getPrefix()
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.
public ListTemplatesRequest withPrefix(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.
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.public void setTemplateType(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.
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.public String getTemplateType()
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.
public ListTemplatesRequest withTemplateType(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.
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.public String toString()
toString
in class Object
Object.toString()
public ListTemplatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()