Interface AnalyticsConfigurationType.Builder

    • Method Detail

      • applicationId

        AnalyticsConfigurationType.Builder applicationId​(String applicationId)

        Your Amazon Pinpoint project ID.

        Parameters:
        applicationId - Your Amazon Pinpoint project ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applicationArn

        AnalyticsConfigurationType.Builder applicationArn​(String 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 that ApplicationArn declares. You can also configure your application to pass an endpoint ID in the AnalyticsMetadata parameter of sign-in operations. The endpoint ID is information about the destination for push notifications

        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 that ApplicationArn declares. You can also configure your application to pass an endpoint ID in the AnalyticsMetadata parameter of sign-in operations. The endpoint ID is information about the destination for push notifications
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        AnalyticsConfigurationType.Builder roleArn​(String roleArn)

        The ARN of an Identity and Access Management role that has the permissions required for Amazon Cognito to publish events to Amazon Pinpoint analytics.

        Parameters:
        roleArn - The ARN of an Identity and Access Management role that has the permissions required for Amazon Cognito to publish events to Amazon Pinpoint analytics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalId

        AnalyticsConfigurationType.Builder externalId​(String externalId)

        The external ID of the role that Amazon Cognito assumes to send analytics data to Amazon Pinpoint.

        Parameters:
        externalId - The external ID of the role that Amazon Cognito assumes to send analytics data to Amazon Pinpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userDataShared

        AnalyticsConfigurationType.Builder userDataShared​(Boolean userDataShared)

        If UserDataShared is true, Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.

        Parameters:
        userDataShared - If UserDataShared is true, Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.