@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplatesResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about all the message templates that are associated with your Amazon Pinpoint account.
Constructor and Description |
---|
TemplatesResponse() |
Modifier and Type | Method and Description |
---|---|
TemplatesResponse |
clone() |
boolean |
equals(Object obj) |
List<TemplateResponse> |
getItem()
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and
meets any filter criteria that you specified in the request.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItem(Collection<TemplateResponse> item)
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and
meets any filter criteria that you specified in the request.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
TemplatesResponse |
withItem(Collection<TemplateResponse> item)
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and
meets any filter criteria that you specified in the request.
|
TemplatesResponse |
withItem(TemplateResponse... item)
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and
meets any filter criteria that you specified in the request.
|
TemplatesResponse |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
public List<TemplateResponse> getItem()
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
public void setItem(Collection<TemplateResponse> item)
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
item
- An array of responses, one for each message template that's associated with your Amazon Pinpoint account
and meets any filter criteria that you specified in the request.public TemplatesResponse withItem(TemplateResponse... item)
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
NOTE: This method appends the values to the existing list (if any). Use
setItem(java.util.Collection)
or withItem(java.util.Collection)
if you want to override the
existing values.
item
- An array of responses, one for each message template that's associated with your Amazon Pinpoint account
and meets any filter criteria that you specified in the request.public TemplatesResponse withItem(Collection<TemplateResponse> item)
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
item
- An array of responses, one for each message template that's associated with your Amazon Pinpoint account
and meets any filter criteria that you specified in the request.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public TemplatesResponse withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public TemplatesResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.