Class CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty>
- Enclosing interface:
CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty
@Stability(Stable)
public static final class CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationArn(String applicationArn) applicationId(String applicationId) build()Builds the configured instance.externalId(String externalId) Sets the value ofCfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.getRoleArn()Sets the value ofCfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.getRoleArn()userDataShared(Boolean userDataShared) userDataShared(IResolvable userDataShared)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
@Stability(Stable) public CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder applicationArn(String applicationArn) - Parameters:
applicationArn- The Amazon Resource Name (ARN) of an Amazon Pinpoint project that you want to connect to your user pool app client. Amazon Cognito publishes events to the Amazon Pinpoint project thatApplicationArndeclares. You can also configure your application to pass an endpoint ID in theAnalyticsMetadataparameter of sign-in operations. The endpoint ID is information about the destination for push notifications- Returns:
this
-
applicationId
@Stability(Stable) public CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder applicationId(String applicationId) - Parameters:
applicationId- Your Amazon Pinpoint project ID.- Returns:
this
-
externalId
@Stability(Stable) public CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder externalId(String externalId) - Parameters:
externalId- The external ID of the role that Amazon Cognito assumes to send analytics data to Amazon Pinpoint.- Returns:
this
-
roleArn
@Stability(Stable) public CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.getRoleArn()- Parameters:
roleArn- The ARN of an AWS Identity and Access Management role that has the permissions required for Amazon Cognito to publish events to Amazon Pinpoint analytics.- Returns:
this
-
roleArn
@Stability(Stable) public CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty.getRoleArn()- Parameters:
roleArn- The ARN of an AWS Identity and Access Management role that has the permissions required for Amazon Cognito to publish events to Amazon Pinpoint analytics.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty>- Returns:
- a new instance of
CfnUserPoolClientPropsMixin.AnalyticsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-