Class CfnCampaign.TemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.TemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TemplateProperty>
- Enclosing interface:
- CfnCampaign.TemplateProperty
@Stability(Stable)
public static final class CfnCampaign.TemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TemplateProperty>
A builder for
CfnCampaign.TemplateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.TemplateProperty.getName()Sets the value ofCfnCampaign.TemplateProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnCampaign.TemplateProperty.getName()- Parameters:
name-CfnCampaign.TemplateProperty.Name.- Returns:
this
-
version
Sets the value ofCfnCampaign.TemplateProperty.getVersion()- Parameters:
version-CfnCampaign.TemplateProperty.Version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.TemplateProperty>- Returns:
- a new instance of
CfnCampaign.TemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-