Interface UpdateMessageTemplateMetadataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMessageTemplateMetadataRequest.Builder,,UpdateMessageTemplateMetadataRequest> QConnectRequest.Builder,SdkBuilder<UpdateMessageTemplateMetadataRequest.Builder,,UpdateMessageTemplateMetadataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMessageTemplateMetadataRequest
@Mutable
@NotThreadSafe
public static interface UpdateMessageTemplateMetadataRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateMessageTemplateMetadataRequest.Builder,UpdateMessageTemplateMetadataRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the message template.groupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration) Sets the value of the GroupingConfiguration property for this object.groupingConfiguration(GroupingConfiguration groupingConfiguration) Sets the value of the GroupingConfiguration property for this object.knowledgeBaseId(String knowledgeBaseId) The identifier of the knowledge base.messageTemplateId(String messageTemplateId) The identifier of the message template.The name 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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. It cannot contain any qualifier.
- Parameters:
messageTemplateId- The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the message template.
- Parameters:
name- The name of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the message template.
- Parameters:
description- The description of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingConfiguration
UpdateMessageTemplateMetadataRequest.Builder groupingConfiguration(GroupingConfiguration groupingConfiguration) Sets the value of the GroupingConfiguration property for this object.- Parameters:
groupingConfiguration- The new value for the GroupingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingConfiguration
default UpdateMessageTemplateMetadataRequest.Builder groupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration) Sets the value of the GroupingConfiguration property for this object. This is a convenience method that creates an instance of theGroupingConfiguration.Builderavoiding the need to create one manually viaGroupingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupingConfiguration(GroupingConfiguration).- Parameters:
groupingConfiguration- a consumer that will call methods onGroupingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMessageTemplateMetadataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMessageTemplateMetadataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-