@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateVersionsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about all the versions of a specific message template.
Constructor and Description |
---|
TemplateVersionsResponse() |
Modifier and Type | Method and Description |
---|---|
TemplateVersionsResponse |
clone() |
boolean |
equals(Object obj) |
List<TemplateVersionResponse> |
getItem()
An array of responses, one for each version of the message template.
|
String |
getMessage()
The message that's returned from the API for the request to retrieve information about all the versions of the
message template.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
getRequestID()
The unique identifier for the request to retrieve information about all the versions of the message template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setItem(Collection<TemplateVersionResponse> item)
An array of responses, one for each version of the message template.
|
void |
setMessage(String message)
The message that's returned from the API for the request to retrieve information about all the versions of the
message template.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
void |
setRequestID(String requestID)
The unique identifier for the request to retrieve information about all the versions of the message template.
|
String |
toString()
Returns a string representation of this object.
|
TemplateVersionsResponse |
withItem(Collection<TemplateVersionResponse> item)
An array of responses, one for each version of the message template.
|
TemplateVersionsResponse |
withItem(TemplateVersionResponse... item)
An array of responses, one for each version of the message template.
|
TemplateVersionsResponse |
withMessage(String message)
The message that's returned from the API for the request to retrieve information about all the versions of the
message template.
|
TemplateVersionsResponse |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
TemplateVersionsResponse |
withRequestID(String requestID)
The unique identifier for the request to retrieve information about all the versions of the message template.
|
public List<TemplateVersionResponse> getItem()
An array of responses, one for each version of the message template.
public void setItem(Collection<TemplateVersionResponse> item)
An array of responses, one for each version of the message template.
item
- An array of responses, one for each version of the message template.public TemplateVersionsResponse withItem(TemplateVersionResponse... item)
An array of responses, one for each version of the message template.
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 version of the message template.public TemplateVersionsResponse withItem(Collection<TemplateVersionResponse> item)
An array of responses, one for each version of the message template.
item
- An array of responses, one for each version of the message template.public void setMessage(String message)
The message that's returned from the API for the request to retrieve information about all the versions of the message template.
message
- The message that's returned from the API for the request to retrieve information about all the versions of
the message template.public String getMessage()
The message that's returned from the API for the request to retrieve information about all the versions of the message template.
public TemplateVersionsResponse withMessage(String message)
The message that's returned from the API for the request to retrieve information about all the versions of the message template.
message
- The message that's returned from the API for the request to retrieve information about all the versions of
the message template.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 TemplateVersionsResponse 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 void setRequestID(String requestID)
The unique identifier for the request to retrieve information about all the versions of the message template.
requestID
- The unique identifier for the request to retrieve information about all the versions of the message
template.public String getRequestID()
The unique identifier for the request to retrieve information about all the versions of the message template.
public TemplateVersionsResponse withRequestID(String requestID)
The unique identifier for the request to retrieve information about all the versions of the message template.
requestID
- The unique identifier for the request to retrieve information about all the versions of the message
template.public String toString()
toString
in class Object
Object.toString()
public TemplateVersionsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.