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.
|
copy
applyMutation, build
EventDestination.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.Builder
cloudWatchLogsDestination(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.Builder
kinesisFirehoseDestination(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.