Class CfnIdentityPool.PushSyncProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnIdentityPool.PushSyncProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityPool.PushSyncProperty>
- Enclosing interface:
- CfnIdentityPool.PushSyncProperty
@Stability(Stable)
public static final class CfnIdentityPool.PushSyncProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityPool.PushSyncProperty>
A builder for
CfnIdentityPool.PushSyncProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationArns(List<String> applicationArns) Sets the value ofCfnIdentityPool.PushSyncProperty.getApplicationArns()build()Builds the configured instance.Sets the value ofCfnIdentityPool.PushSyncProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArns
@Stability(Stable) public CfnIdentityPool.PushSyncProperty.Builder applicationArns(List<String> applicationArns) Sets the value ofCfnIdentityPool.PushSyncProperty.getApplicationArns()- Parameters:
applicationArns- The ARNs of the Amazon SNS platform applications that could be used by clients.- Returns:
this
-
roleArn
Sets the value ofCfnIdentityPool.PushSyncProperty.getRoleArn()- Parameters:
roleArn- An IAM role configured to allow Amazon Cognito to call Amazon SNS on behalf of the developer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentityPool.PushSyncProperty>- Returns:
- a new instance of
CfnIdentityPool.PushSyncProperty - Throws:
NullPointerException- if any required attribute was not provided
-