Interface EventDestination.Builder

    • Method Detail

      • name

        EventDestination.Builder name​(String name)

        A name that identifies the event destination.

        Parameters:
        name - A name that identifies the event destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        EventDestination.Builder enabled​(Boolean enabled)

        If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

        If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

        Parameters:
        enabled - If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition .

        If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

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

        EventDestination.Builder matchingEventTypesWithStrings​(Collection<String> matchingEventTypes)

        The types of events that Amazon Pinpoint sends to the specified event destinations.

        Parameters:
        matchingEventTypes - The types of events that Amazon Pinpoint sends to the specified event destinations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypesWithStrings

        EventDestination.Builder matchingEventTypesWithStrings​(String... matchingEventTypes)

        The types of events that Amazon Pinpoint sends to the specified event destinations.

        Parameters:
        matchingEventTypes - The types of events that Amazon Pinpoint sends to the specified event destinations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypes

        EventDestination.Builder matchingEventTypes​(Collection<EventType> matchingEventTypes)

        The types of events that Amazon Pinpoint sends to the specified event destinations.

        Parameters:
        matchingEventTypes - The types of events that Amazon Pinpoint sends to the specified event destinations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypes

        EventDestination.Builder matchingEventTypes​(EventType... matchingEventTypes)

        The types of events that Amazon Pinpoint sends to the specified event destinations.

        Parameters:
        matchingEventTypes - The types of events that Amazon Pinpoint sends to the specified event destinations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kinesisFirehoseDestination

        EventDestination.Builder kinesisFirehoseDestination​(KinesisFirehoseDestination kinesisFirehoseDestination)

        An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

        Parameters:
        kinesisFirehoseDestination - An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloudWatchDestination

        EventDestination.Builder cloudWatchDestination​(CloudWatchDestination cloudWatchDestination)

        An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

        Parameters:
        cloudWatchDestination - An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsDestination

        EventDestination.Builder snsDestination​(SnsDestination snsDestination)

        An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

        Parameters:
        snsDestination - An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pinpointDestination

        EventDestination.Builder pinpointDestination​(PinpointDestination pinpointDestination)

        An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

        Parameters:
        pinpointDestination - An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.
        Returns:
        Returns a reference to this object so that method calls can be chained together.