Interface RenderMessageTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RenderMessageTemplateRequest.Builder,
,RenderMessageTemplateRequest> QConnectRequest.Builder
,SdkBuilder<RenderMessageTemplateRequest.Builder,
,RenderMessageTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RenderMessageTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Consumer<MessageTemplateAttributes.Builder> attributes) An object that specifies the values to use for variables in the message template.attributes
(MessageTemplateAttributes attributes) An object that specifies the values to use for variables in the message template.knowledgeBaseId
(String knowledgeBaseId) The identifier of the knowledge base.messageTemplateId
(String messageTemplateId) The identifier of the message template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
knowledgeBaseId
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTemplateId
The identifier of the message template. Can be either the ID or the ARN.
- Parameters:
messageTemplateId
- The identifier of the message template. Can be either the ID or the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An object that specifies the values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the value for that variable.
- Parameters:
attributes
- An object that specifies the values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the value for that variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
default RenderMessageTemplateRequest.Builder attributes(Consumer<MessageTemplateAttributes.Builder> attributes) An object that specifies the values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the value for that variable.
This is a convenience method that creates an instance of theMessageTemplateAttributes.Builder
avoiding the need to create one manually viaMessageTemplateAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(MessageTemplateAttributes)
.- Parameters:
attributes
- a consumer that will call methods onMessageTemplateAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RenderMessageTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RenderMessageTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-