Class PushTemplateReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.pinpoint.PushTemplateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PushTemplateReference>
- Enclosing interface:
PushTemplateReference
@Stability(Stable)
public static final class PushTemplateReference.Builder
extends Object
implements software.amazon.jsii.Builder<PushTemplateReference>
A builder for
PushTemplateReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.pushTemplateArn(String pushTemplateArn) Sets the value ofPushTemplateReference.getPushTemplateArn()pushTemplateId(String pushTemplateId) Sets the value ofPushTemplateReference.getPushTemplateId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pushTemplateArn
Sets the value ofPushTemplateReference.getPushTemplateArn()- Parameters:
pushTemplateArn- The ARN of the PushTemplate resource. This parameter is required.- Returns:
this
-
pushTemplateId
Sets the value ofPushTemplateReference.getPushTemplateId()- Parameters:
pushTemplateId- The Id of the PushTemplate resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PushTemplateReference>- Returns:
- a new instance of
PushTemplateReference - Throws:
NullPointerException- if any required attribute was not provided
-