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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventDestination.BuildercloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)Sets the value of the CloudWatchLogsDestination property for this object.EventDestination.BuildercloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)Sets the value of the CloudWatchLogsDestination property for this object.EventDestination.Builderenabled(Boolean enabled)Indicates whether or not the event destination is enabled.default EventDestination.BuilderkinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)Sets the value of the KinesisFirehoseDestination property for this object.EventDestination.BuilderkinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)Sets the value of the KinesisFirehoseDestination property for this object.EventDestination.BuildermatchingEventTypes(Collection<EventType> matchingEventTypes)Sets the value of the MatchingEventTypes property for this object.EventDestination.BuildermatchingEventTypes(EventType... matchingEventTypes)Sets the value of the MatchingEventTypes property for this object.EventDestination.BuildermatchingEventTypesWithStrings(String... matchingEventTypes)Sets the value of the MatchingEventTypes property for this object.EventDestination.BuildermatchingEventTypesWithStrings(Collection<String> matchingEventTypes)Sets the value of the MatchingEventTypes property for this object.EventDestination.Buildername(String name)A name that identifies the event destination configuration.default EventDestination.BuildersnsDestination(Consumer<SnsDestination.Builder> snsDestination)Sets the value of the SnsDestination property for this object.EventDestination.BuildersnsDestination(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaCloudWatchLogsDestination.builder().When the
Consumercompletes,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:
cloudWatchLogsDestination(CloudWatchLogsDestination)
-
enabled
EventDestination.Builder enabled(Boolean 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.Builderavoiding the need to create one manually viaKinesisFirehoseDestination.builder().When the
Consumercompletes,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:
kinesisFirehoseDestination(KinesisFirehoseDestination)
-
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
EventDestination.Builder name(String 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 theSnsDestination.Builderavoiding the need to create one manually viaSnsDestination.builder().When the
Consumercompletes,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:
snsDestination(SnsDestination)
-
-