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 Summary
Modifier and TypeMethodDescriptiondefault EventDestination.Builder
cloudWatchLogsDestination
(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) Sets the value of the CloudWatchLogsDestination property for this object.cloudWatchLogsDestination
(CloudWatchLogsDestination cloudWatchLogsDestination) Sets the value of the CloudWatchLogsDestination property for this object.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.kinesisFirehoseDestination
(KinesisFirehoseDestination kinesisFirehoseDestination) Sets the value of the KinesisFirehoseDestination property for this object.matchingEventTypes
(Collection<EventType> matchingEventTypes) Sets the value of the MatchingEventTypes property for this object.matchingEventTypes
(EventType... matchingEventTypes) Sets the value of the MatchingEventTypes property for this object.matchingEventTypesWithStrings
(String... matchingEventTypes) Sets the value of the MatchingEventTypes property for this object.matchingEventTypesWithStrings
(Collection<String> matchingEventTypes) Sets the value of the MatchingEventTypes property for this object.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.snsDestination
(SnsDestination snsDestination) Sets the value of the SnsDestination property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 theCloudWatchLogsDestination.Builder
avoiding the need to create one manually viaCloudWatchLogsDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogsDestination(CloudWatchLogsDestination)
.- Parameters:
cloudWatchLogsDestination
- a consumer that will call methods onCloudWatchLogsDestination.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 theKinesisFirehoseDestination.Builder
avoiding the need to create one manually viaKinesisFirehoseDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokinesisFirehoseDestination(KinesisFirehoseDestination)
.- Parameters:
kinesisFirehoseDestination
- a consumer that will call methods onKinesisFirehoseDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchingEventTypesWithStrings
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
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
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
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
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
Sets the value of the SnsDestination property for this object. This is a convenience method that creates an instance of theSnsDestination.Builder
avoiding the need to create one manually viaSnsDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnsDestination(SnsDestination)
.- Parameters:
snsDestination
- a consumer that will call methods onSnsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-