Interface RenderMessageTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RenderMessageTemplateRequest.Builder,RenderMessageTemplateRequest>,QConnectRequest.Builder,SdkBuilder<RenderMessageTemplateRequest.Builder,RenderMessageTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RenderMessageTemplateRequest
public static interface RenderMessageTemplateRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<RenderMessageTemplateRequest.Builder,RenderMessageTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RenderMessageTemplateRequest.Builderattributes(Consumer<MessageTemplateAttributes.Builder> attributes)An object that specifies the values to use for variables in the message template.RenderMessageTemplateRequest.Builderattributes(MessageTemplateAttributes attributes)An object that specifies the values to use for variables in the message template.RenderMessageTemplateRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.RenderMessageTemplateRequest.BuildermessageTemplateId(String messageTemplateId)The identifier of the message template.RenderMessageTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RenderMessageTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
attributes
RenderMessageTemplateRequest.Builder attributes(MessageTemplateAttributes 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.Builderavoiding the need to create one manually viaMessageTemplateAttributes.builder().When the
Consumercompletes,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:
attributes(MessageTemplateAttributes)
-
knowledgeBaseId
RenderMessageTemplateRequest.Builder knowledgeBaseId(String 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
RenderMessageTemplateRequest.Builder messageTemplateId(String 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.
-
overrideConfiguration
RenderMessageTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RenderMessageTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-