Interface EventDestination.Builder

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

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

    • 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

      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.
    • cloudWatchLogsDestination

      default EventDestination.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)

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

      This is a convenience method that creates an instance of the CloudWatchLogsDestination.Builder avoiding the need to create one manually via CloudWatchLogsDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudWatchLogsDestination(CloudWatchLogsDestination).

      Parameters:
      cloudWatchLogsDestination - a consumer that will call methods on CloudWatchLogsDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kinesisFirehoseDestination

      EventDestination.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)

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

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

      default EventDestination.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)

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

      This is a convenience method that creates an instance of the KinesisFirehoseDestination.Builder avoiding the need to create one manually via KinesisFirehoseDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kinesisFirehoseDestination(KinesisFirehoseDestination).

      Parameters:
      kinesisFirehoseDestination - a consumer that will call methods on KinesisFirehoseDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • snsDestination

      default EventDestination.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination)

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

      This is a convenience method that creates an instance of the SnsDestination.Builder avoiding the need to create one manually via SnsDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to snsDestination(SnsDestination).

      Parameters:
      snsDestination - a consumer that will call methods on SnsDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: