Interface MessageTemplateAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MessageTemplateAttributes.Builder,
,MessageTemplateAttributes> SdkBuilder<MessageTemplateAttributes.Builder,
,MessageTemplateAttributes> SdkPojo
- Enclosing class:
MessageTemplateAttributes
-
Method Summary
Modifier and TypeMethodDescriptionagentAttributes
(Consumer<AgentAttributes.Builder> agentAttributes) The agent attributes that are used with the message template.agentAttributes
(AgentAttributes agentAttributes) The agent attributes that are used with the message template.customAttributes
(Map<String, String> customAttributes) The custom attributes that are used with the message template.customerProfileAttributes
(Consumer<CustomerProfileAttributes.Builder> customerProfileAttributes) The customer profile attributes that are used with the message template.customerProfileAttributes
(CustomerProfileAttributes customerProfileAttributes) The customer profile attributes that are used with the message template.systemAttributes
(Consumer<SystemAttributes.Builder> systemAttributes) The system attributes that are used with the message template.systemAttributes
(SystemAttributes systemAttributes) The system attributes that are used with 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, sdkFieldNameToField, sdkFields
-
Method Details
-
systemAttributes
The system attributes that are used with the message template.
- Parameters:
systemAttributes
- The system attributes that are used with the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemAttributes
default MessageTemplateAttributes.Builder systemAttributes(Consumer<SystemAttributes.Builder> systemAttributes) The system attributes that are used with the message template.
This is a convenience method that creates an instance of theSystemAttributes.Builder
avoiding the need to create one manually viaSystemAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosystemAttributes(SystemAttributes)
.- Parameters:
systemAttributes
- a consumer that will call methods onSystemAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentAttributes
The agent attributes that are used with the message template.
- Parameters:
agentAttributes
- The agent attributes that are used with the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAttributes
default MessageTemplateAttributes.Builder agentAttributes(Consumer<AgentAttributes.Builder> agentAttributes) The agent attributes that are used with the message template.
This is a convenience method that creates an instance of theAgentAttributes.Builder
avoiding the need to create one manually viaAgentAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentAttributes(AgentAttributes)
.- Parameters:
agentAttributes
- a consumer that will call methods onAgentAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerProfileAttributes
MessageTemplateAttributes.Builder customerProfileAttributes(CustomerProfileAttributes customerProfileAttributes) The customer profile attributes that are used with the message template.
- Parameters:
customerProfileAttributes
- The customer profile attributes that are used with the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerProfileAttributes
default MessageTemplateAttributes.Builder customerProfileAttributes(Consumer<CustomerProfileAttributes.Builder> customerProfileAttributes) The customer profile attributes that are used with the message template.
This is a convenience method that creates an instance of theCustomerProfileAttributes.Builder
avoiding the need to create one manually viaCustomerProfileAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerProfileAttributes(CustomerProfileAttributes)
.- Parameters:
customerProfileAttributes
- a consumer that will call methods onCustomerProfileAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customAttributes
The custom attributes that are used with the message template.
- Parameters:
customAttributes
- The custom attributes that are used with the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-