Interface EventStream.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventStream.Builder,EventStream>, SdkBuilder<EventStream.Builder,EventStream>, SdkPojo
Enclosing class:
EventStream

public static interface EventStream.Builder extends SdkPojo, CopyableBuilder<EventStream.Builder,EventStream>
  • Method Details

    • applicationId

      EventStream.Builder applicationId(String applicationId)

      The unique identifier for the application to publish event data for.

      Parameters:
      applicationId - The unique identifier for the application to publish event data for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationStreamArn

      EventStream.Builder destinationStreamArn(String destinationStreamArn)

      The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream 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 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.
    • externalId

      EventStream.Builder externalId(String externalId)

      (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.

      Parameters:
      externalId - (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      EventStream.Builder lastModifiedDate(String lastModifiedDate)

      The date, in ISO 8601 format, when the event stream was last modified.

      Parameters:
      lastModifiedDate - The date, in ISO 8601 format, when the event stream was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedBy

      EventStream.Builder lastUpdatedBy(String lastUpdatedBy)

      The IAM user who last modified the event stream.

      Parameters:
      lastUpdatedBy - The IAM user who last modified the event stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      EventStream.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.