Class CfnIdentityPoolPropsMixin.PushSyncProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnIdentityPoolPropsMixin.PushSyncProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityPoolPropsMixin.PushSyncProperty>
- Enclosing interface:
CfnIdentityPoolPropsMixin.PushSyncProperty
@Stability(Stable)
public static final class CfnIdentityPoolPropsMixin.PushSyncProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityPoolPropsMixin.PushSyncProperty>
A builder for
CfnIdentityPoolPropsMixin.PushSyncProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationArns(List<String> applicationArns) Sets the value ofCfnIdentityPoolPropsMixin.PushSyncProperty.getApplicationArns()build()Builds the configured instance.Sets the value ofCfnIdentityPoolPropsMixin.PushSyncProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArns
@Stability(Stable) public CfnIdentityPoolPropsMixin.PushSyncProperty.Builder applicationArns(List<String> applicationArns) Sets the value ofCfnIdentityPoolPropsMixin.PushSyncProperty.getApplicationArns()- Parameters:
applicationArns- The ARNs of the Amazon SNS platform applications that could be used by clients.- Returns:
this
-
roleArn
@Stability(Stable) public CfnIdentityPoolPropsMixin.PushSyncProperty.Builder roleArn(String roleArn) Sets the value ofCfnIdentityPoolPropsMixin.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<CfnIdentityPoolPropsMixin.PushSyncProperty>- Returns:
- a new instance of
CfnIdentityPoolPropsMixin.PushSyncProperty - Throws:
NullPointerException- if any required attribute was not provided
-