@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() |
boolean |
equals(Object obj) |
String |
getNextToken()
The NextToken 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 NextToken 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 NextToken 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, copyBaseTo, 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, withSdkRequestTimeoutpublic void setNextToken(String nextToken)
The NextToken string that specifies which page of results to return in a paginated response. This parameter is currently not supported by the Application Metrics and Campaign Metrics resources.
nextToken - The NextToken string that specifies which page of results to return in a paginated response. This
parameter is currently not supported by the Application Metrics and Campaign Metrics resources.public String getNextToken()
The NextToken string that specifies which page of results to return in a paginated response. This parameter is currently not supported by the Application Metrics and Campaign Metrics resources.
public ListTemplatesRequest withNextToken(String nextToken)
The NextToken string that specifies which page of results to return in a paginated response. This parameter is currently not supported by the Application Metrics and Campaign Metrics resources.
nextToken - The NextToken string that specifies which page of results to return in a paginated response. This
parameter is currently not supported by the Application Metrics and Campaign Metrics resources.public void setPageSize(String pageSize)
The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the Application Metrics and Campaign Metrics resources.
pageSize - The maximum number of items to include in each page of a paginated response. This parameter is currently
not supported by the Application Metrics and Campaign Metrics resources.public String getPageSize()
The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the Application Metrics and Campaign Metrics resources.
public ListTemplatesRequest withPageSize(String pageSize)
The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the Application Metrics and Campaign Metrics resources.
pageSize - The maximum number of items to include in each page of a paginated response. This parameter is currently
not supported by the Application Metrics and Campaign Metrics resources.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, SMS, and PUSH. 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, SMS, and PUSH. 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, SMS, and PUSH. 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, SMS, and PUSH. 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, SMS, and PUSH. To include
all types of templates in the results, don't include this parameter in your request.public String toString()
toString in class ObjectObject.toString()public ListTemplatesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.