Interface WriteEventStream.Builder

    • Method Detail

      • destinationStreamArn

        WriteEventStream.Builder destinationStreamArn​(String destinationStreamArn)

        The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.

        For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account -id:stream/stream_name

        For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name

        Parameters:
        destinationStreamArn - The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.

        For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name

        For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        WriteEventStream.Builder roleArn​(String roleArn)

        The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.

        Parameters:
        roleArn - The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.