public static interface EventDestination.Builder extends SdkPojo, CopyableBuilder<EventDestination.Builder,EventDestination>
| Modifier and Type | Method and Description |
|---|---|
EventDestination.Builder |
cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
Sets the value of the CloudWatchLogsDestination property for this object.
|
default EventDestination.Builder |
cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)
Sets the value of the CloudWatchLogsDestination property for this object.
|
EventDestination.Builder |
enabled(Boolean enabled)
Indicates whether or not the event destination is enabled.
|
default EventDestination.Builder |
kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)
Sets the value of the KinesisFirehoseDestination property for this object.
|
EventDestination.Builder |
kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
Sets the value of the KinesisFirehoseDestination property for this object.
|
EventDestination.Builder |
matchingEventTypes(Collection<EventType> matchingEventTypes)
Sets the value of the MatchingEventTypes property for this object.
|
EventDestination.Builder |
matchingEventTypes(EventType... matchingEventTypes)
Sets the value of the MatchingEventTypes property for this object.
|
EventDestination.Builder |
matchingEventTypesWithStrings(Collection<String> matchingEventTypes)
Sets the value of the MatchingEventTypes property for this object.
|
EventDestination.Builder |
matchingEventTypesWithStrings(String... matchingEventTypes)
Sets the value of the MatchingEventTypes property for this object.
|
EventDestination.Builder |
name(String name)
A name that identifies the event destination configuration.
|
default EventDestination.Builder |
snsDestination(Consumer<SnsDestination.Builder> snsDestination)
Sets the value of the SnsDestination property for this object.
|
EventDestination.Builder |
snsDestination(SnsDestination snsDestination)
Sets the value of the SnsDestination property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEventDestination.Builder cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
cloudWatchLogsDestination - The new value for the CloudWatchLogsDestination property for this object.default EventDestination.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)
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).
cloudWatchLogsDestination - a consumer that will call methods on CloudWatchLogsDestination.BuildercloudWatchLogsDestination(CloudWatchLogsDestination)EventDestination.Builder enabled(Boolean enabled)
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.EventDestination.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
kinesisFirehoseDestination - The new value for the KinesisFirehoseDestination property for this object.default EventDestination.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)
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).
kinesisFirehoseDestination - a consumer that will call methods on KinesisFirehoseDestination.BuilderkinesisFirehoseDestination(KinesisFirehoseDestination)EventDestination.Builder matchingEventTypesWithStrings(Collection<String> matchingEventTypes)
matchingEventTypes - The new value for the MatchingEventTypes property for this object.EventDestination.Builder matchingEventTypesWithStrings(String... matchingEventTypes)
matchingEventTypes - The new value for the MatchingEventTypes property for this object.EventDestination.Builder matchingEventTypes(Collection<EventType> matchingEventTypes)
matchingEventTypes - The new value for the MatchingEventTypes property for this object.EventDestination.Builder matchingEventTypes(EventType... matchingEventTypes)
matchingEventTypes - The new value for the MatchingEventTypes property for this object.EventDestination.Builder name(String name)
name - A name that identifies the event destination configuration.EventDestination.Builder snsDestination(SnsDestination snsDestination)
snsDestination - The new value for the SnsDestination property for this object.default EventDestination.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination)
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).
snsDestination - a consumer that will call methods on SnsDestination.BuildersnsDestination(SnsDestination)Copyright © 2023. All rights reserved.