Class CfnMessageTemplate.MessageTemplateAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnMessageTemplate.MessageTemplateAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMessageTemplate.MessageTemplateAttributesProperty>
- Enclosing interface:
CfnMessageTemplate.MessageTemplateAttributesProperty
@Stability(Stable)
public static final class CfnMessageTemplate.MessageTemplateAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMessageTemplate.MessageTemplateAttributesProperty>
A builder for
CfnMessageTemplate.MessageTemplateAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentAttributes(IResolvable agentAttributes) agentAttributes(CfnMessageTemplate.AgentAttributesProperty agentAttributes) build()Builds the configured instance.customAttributes(Map<String, String> customAttributes) customAttributes(IResolvable customAttributes) customerProfileAttributes(IResolvable customerProfileAttributes) customerProfileAttributes(CfnMessageTemplate.CustomerProfileAttributesProperty customerProfileAttributes) systemAttributes(IResolvable systemAttributes) systemAttributes(CfnMessageTemplate.SystemAttributesProperty systemAttributes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder agentAttributes(IResolvable agentAttributes) - Parameters:
agentAttributes- The agent attributes that are used with the message template.- Returns:
this
-
agentAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder agentAttributes(CfnMessageTemplate.AgentAttributesProperty agentAttributes) - Parameters:
agentAttributes- The agent attributes that are used with the message template.- Returns:
this
-
customAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder customAttributes(Map<String, String> customAttributes) - Parameters:
customAttributes- The custom attributes that are used with the message template.- Returns:
this
-
customAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder customAttributes(IResolvable customAttributes) - Parameters:
customAttributes- The custom attributes that are used with the message template.- Returns:
this
-
customerProfileAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder customerProfileAttributes(IResolvable customerProfileAttributes) Sets the value ofCfnMessageTemplate.MessageTemplateAttributesProperty.getCustomerProfileAttributes()- Parameters:
customerProfileAttributes- The customer profile attributes that are used with the message template.- Returns:
this
-
customerProfileAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder customerProfileAttributes(CfnMessageTemplate.CustomerProfileAttributesProperty customerProfileAttributes) Sets the value ofCfnMessageTemplate.MessageTemplateAttributesProperty.getCustomerProfileAttributes()- Parameters:
customerProfileAttributes- The customer profile attributes that are used with the message template.- Returns:
this
-
systemAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder systemAttributes(IResolvable systemAttributes) - Parameters:
systemAttributes- The system attributes that are used with the message template.- Returns:
this
-
systemAttributes
@Stability(Stable) public CfnMessageTemplate.MessageTemplateAttributesProperty.Builder systemAttributes(CfnMessageTemplate.SystemAttributesProperty systemAttributes) - Parameters:
systemAttributes- The system attributes that are used with the message template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMessageTemplate.MessageTemplateAttributesProperty>- Returns:
- a new instance of
CfnMessageTemplate.MessageTemplateAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-