Interface RenderMessageTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RenderMessageTemplateResponse.Builder,
,RenderMessageTemplateResponse> QConnectResponse.Builder
,SdkBuilder<RenderMessageTemplateResponse.Builder,
,RenderMessageTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RenderMessageTemplateResponse
@Mutable
@NotThreadSafe
public static interface RenderMessageTemplateResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<RenderMessageTemplateResponse.Builder,RenderMessageTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Collection<MessageTemplateAttachment> attachments) The message template attachments.attachments
(Consumer<MessageTemplateAttachment.Builder>... attachments) The message template attachments.attachments
(MessageTemplateAttachment... attachments) The message template attachments.attributesNotInterpolated
(String... attributesNotInterpolated) The attribute keys that are not resolved.attributesNotInterpolated
(Collection<String> attributesNotInterpolated) The attribute keys that are not resolved.The content of the message template.content
(MessageTemplateContentProvider content) The content of the message template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
content
The content of the message template.
- Parameters:
content
- The content of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default RenderMessageTemplateResponse.Builder content(Consumer<MessageTemplateContentProvider.Builder> content) The content of the message template.
This is a convenience method that creates an instance of theMessageTemplateContentProvider.Builder
avoiding the need to create one manually viaMessageTemplateContentProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(MessageTemplateContentProvider)
.- Parameters:
content
- a consumer that will call methods onMessageTemplateContentProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributesNotInterpolated
RenderMessageTemplateResponse.Builder attributesNotInterpolated(Collection<String> attributesNotInterpolated) The attribute keys that are not resolved.
- Parameters:
attributesNotInterpolated
- The attribute keys that are not resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesNotInterpolated
RenderMessageTemplateResponse.Builder attributesNotInterpolated(String... attributesNotInterpolated) The attribute keys that are not resolved.
- Parameters:
attributesNotInterpolated
- The attribute keys that are not resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
RenderMessageTemplateResponse.Builder attachments(Collection<MessageTemplateAttachment> attachments) The message template attachments.
- Parameters:
attachments
- The message template attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
The message template attachments.
- Parameters:
attachments
- The message template attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
RenderMessageTemplateResponse.Builder attachments(Consumer<MessageTemplateAttachment.Builder>... attachments) The message template attachments.
This is a convenience method that creates an instance of theMessageTemplateAttachment.Builder
avoiding the need to create one manually viaMessageTemplateAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachments(List<MessageTemplateAttachment>)
.- Parameters:
attachments
- a consumer that will call methods onMessageTemplateAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-