@Generated(value="software.amazon.awssdk:codegen") public final class TemplateVersionsResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateVersionsResponse.Builder,TemplateVersionsResponse>
Provides information about all the versions of a specific message template.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateVersionsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateVersionsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasItem()
Returns true if the Item property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<TemplateVersionResponse> |
item()
An array of responses, one for each version of the message template.
|
String |
message()
The message that's returned from the API for the request to retrieve information about all the versions of the
message template.
|
String |
nextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
requestID()
The unique identifier for the request to retrieve information about all the versions of the message template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateVersionsResponse.Builder> |
serializableBuilderClass() |
TemplateVersionsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasItem()
public final List<TemplateVersionResponse> item()
An array of responses, one for each version of the message template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasItem() to see if a value was sent in this field.
public final String message()
The message that's returned from the API for the request to retrieve information about all the versions of the message template.
public final 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.
public final String requestID()
The unique identifier for the request to retrieve information about all the versions of the message template.
public TemplateVersionsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateVersionsResponse.Builder,TemplateVersionsResponse>public static TemplateVersionsResponse.Builder builder()
public static Class<? extends TemplateVersionsResponse.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.