Interface EventDestination.Builder

    • Method Detail

      • eventDestinationName

        EventDestination.Builder eventDestinationName​(String eventDestinationName)

        The name of the EventDestination.

        Parameters:
        eventDestinationName - The name of the EventDestination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        EventDestination.Builder enabled​(Boolean enabled)

        When set to true events will be logged.

        Parameters:
        enabled - When set to true events will be logged.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypesWithStrings

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

        An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

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

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

        An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

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

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

        An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

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

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

        An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log.

        The TEXT_SENT event type is not supported.

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

        EventDestination.Builder cloudWatchLogsDestination​(CloudWatchLogsDestination cloudWatchLogsDestination)

        An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.

        Parameters:
        cloudWatchLogsDestination - An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kinesisFirehoseDestination

        EventDestination.Builder kinesisFirehoseDestination​(KinesisFirehoseDestination kinesisFirehoseDestination)

        An object that contains information about an event destination for logging to Amazon Data Firehose.

        Parameters:
        kinesisFirehoseDestination - An object that contains information about an event destination for logging to Amazon Data Firehose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsDestination

        EventDestination.Builder snsDestination​(SnsDestination snsDestination)

        An object that contains information about an event destination that sends logging events to Amazon SNS.

        Parameters:
        snsDestination - An object that contains information about an event destination that sends logging events to Amazon SNS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.