public static final class CfnIdentityPool.PushSyncProperty.Builder
extends java.lang.Object
CfnIdentityPool.PushSyncProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnIdentityPool.PushSyncProperty.Builder |
applicationArns(java.util.List<java.lang.String> applicationArns)
Sets the value of
CfnIdentityPool.PushSyncProperty.getApplicationArns() |
CfnIdentityPool.PushSyncProperty |
build()
Builds the configured instance.
|
CfnIdentityPool.PushSyncProperty.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnIdentityPool.PushSyncProperty.getRoleArn() |
public CfnIdentityPool.PushSyncProperty.Builder applicationArns(java.util.List<java.lang.String> applicationArns)
CfnIdentityPool.PushSyncProperty.getApplicationArns()
applicationArns
- The ARNs of the Amazon SNS platform applications that could be used by clients.this
public CfnIdentityPool.PushSyncProperty.Builder roleArn(java.lang.String roleArn)
CfnIdentityPool.PushSyncProperty.getRoleArn()
roleArn
- An IAM role configured to allow Amazon Cognito to call Amazon SNS on behalf of the developer.this
public CfnIdentityPool.PushSyncProperty build()
CfnIdentityPool.PushSyncProperty
java.lang.NullPointerException
- if any required attribute was not provided