Interface EventDestinationDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventDestinationDefinition.Builder,
,EventDestinationDefinition> SdkBuilder<EventDestinationDefinition.Builder,
,EventDestinationDefinition> SdkPojo
- Enclosing class:
EventDestinationDefinition
public static interface EventDestinationDefinition.Builder
extends SdkPojo, CopyableBuilder<EventDestinationDefinition.Builder,EventDestinationDefinition>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogsDestination
(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.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.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
EventDestinationDefinition.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 EventDestinationDefinition.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
EventDestinationDefinition.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 EventDestinationDefinition.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
EventDestinationDefinition.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
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.
-
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 EventDestinationDefinition.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 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:
-