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