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

    • cloudWatchLogsDestination

      EventDestination.Builder cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
      Sets the value of the CloudWatchLogsDestination property for this object.
      Parameters:
      cloudWatchLogsDestination - The new value for the CloudWatchLogsDestination property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchLogsDestination

      default EventDestination.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)
      Sets the value of the CloudWatchLogsDestination property for this object. 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:
    • enabled

      Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
      Parameters:
      enabled - Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kinesisFirehoseDestination

      EventDestination.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
      Sets the value of the KinesisFirehoseDestination property for this object.
      Parameters:
      kinesisFirehoseDestination - The new value for the KinesisFirehoseDestination property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kinesisFirehoseDestination

      default EventDestination.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)
      Sets the value of the KinesisFirehoseDestination property for this object. 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:
    • matchingEventTypesWithStrings

      EventDestination.Builder matchingEventTypesWithStrings(Collection<String> matchingEventTypes)
      Sets the value of the MatchingEventTypes property for this object.
      Parameters:
      matchingEventTypes - The new value for the MatchingEventTypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchingEventTypesWithStrings

      EventDestination.Builder matchingEventTypesWithStrings(String... matchingEventTypes)
      Sets the value of the MatchingEventTypes property for this object.
      Parameters:
      matchingEventTypes - The new value for the MatchingEventTypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchingEventTypes

      EventDestination.Builder matchingEventTypes(Collection<EventType> matchingEventTypes)
      Sets the value of the MatchingEventTypes property for this object.
      Parameters:
      matchingEventTypes - The new value for the MatchingEventTypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchingEventTypes

      EventDestination.Builder matchingEventTypes(EventType... matchingEventTypes)
      Sets the value of the MatchingEventTypes property for this object.
      Parameters:
      matchingEventTypes - The new value for the MatchingEventTypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

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

      EventDestination.Builder snsDestination(SnsDestination snsDestination)
      Sets the value of the SnsDestination property for this object.
      Parameters:
      snsDestination - The new value for the SnsDestination property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snsDestination

      default EventDestination.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination)
      Sets the value of the SnsDestination property for this object. 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: