Interface EventDestinationDefinition.Builder

    • Method Detail

      • enabled

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

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

        An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

        Parameters:
        matchingEventTypes - An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypesWithStrings

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

        An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

        Parameters:
        matchingEventTypes - An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypes

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

        An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

        Parameters:
        matchingEventTypes - An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypes

        EventDestinationDefinition.Builder matchingEventTypes​(EventType... matchingEventTypes)

        An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

        Parameters:
        matchingEventTypes - An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kinesisFirehoseDestination

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

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

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

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