Interface TemplateVersionsResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateVersionsResponse.Builder,TemplateVersionsResponse>,SdkBuilder<TemplateVersionsResponse.Builder,TemplateVersionsResponse>,SdkPojo
- Enclosing class:
- TemplateVersionsResponse
public static interface TemplateVersionsResponse.Builder extends SdkPojo, CopyableBuilder<TemplateVersionsResponse.Builder,TemplateVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateVersionsResponse.Builderitem(Collection<TemplateVersionResponse> item)An array of responses, one for each version of the message template.TemplateVersionsResponse.Builderitem(Consumer<TemplateVersionResponse.Builder>... item)An array of responses, one for each version of the message template.TemplateVersionsResponse.Builderitem(TemplateVersionResponse... item)An array of responses, one for each version of the message template.TemplateVersionsResponse.Buildermessage(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.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.TemplateVersionsResponse.BuilderrequestID(String requestID)The unique identifier for the request to retrieve information about all the versions of the message template.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
item
TemplateVersionsResponse.Builder item(Collection<TemplateVersionResponse> item)
An array of responses, one for each version of the message template.
- Parameters:
item- An array of responses, one for each version of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
TemplateVersionsResponse.Builder item(TemplateVersionResponse... item)
An array of responses, one for each version of the message template.
- Parameters:
item- An array of responses, one for each version of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
TemplateVersionsResponse.Builder item(Consumer<TemplateVersionResponse.Builder>... item)
An array of responses, one for each version of the message template.
This is a convenience method that creates an instance of theTemplateVersionResponse.Builderavoiding the need to create one manually viaTemplateVersionResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#item(List.) - Parameters:
item- a consumer that will call methods onTemplateVersionResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#item(java.util.Collection)
-
message
TemplateVersionsResponse.Builder message(String message)
The message that's returned from the API for the request to retrieve information about all the versions of the message template.
- Parameters:
message- The message that's returned from the API for the request to retrieve information about all the versions of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
TemplateVersionsResponse.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestID
TemplateVersionsResponse.Builder requestID(String requestID)
The unique identifier for the request to retrieve information about all the versions of the message template.
- Parameters:
requestID- The unique identifier for the request to retrieve information about all the versions of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-