Class InAppTemplateReference.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.InAppTemplateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InAppTemplateReference>
- Enclosing interface:
InAppTemplateReference
@Stability(Stable)
public static final class InAppTemplateReference.Builder
extends Object
implements software.amazon.jsii.Builder<InAppTemplateReference>
A builder for
InAppTemplateReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inAppTemplateArn
(String inAppTemplateArn) Sets the value ofInAppTemplateReference.getInAppTemplateArn()
templateName
(String templateName) Sets the value ofInAppTemplateReference.getTemplateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inAppTemplateArn
Sets the value ofInAppTemplateReference.getInAppTemplateArn()
- Parameters:
inAppTemplateArn
- The ARN of the InAppTemplate resource. This parameter is required.- Returns:
this
-
templateName
Sets the value ofInAppTemplateReference.getTemplateName()
- Parameters:
templateName
- The TemplateName of the InAppTemplate resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InAppTemplateReference>
- Returns:
- a new instance of
InAppTemplateReference
- Throws:
NullPointerException
- if any required attribute was not provided
-