Interface EventDestinationDefinition.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EventDestinationDefinition.Builder,,- EventDestinationDefinition> - SdkBuilder<EventDestinationDefinition.Builder,,- EventDestinationDefinition> - SdkPojo
- Enclosing class:
- EventDestinationDefinition
@Mutable
@NotThreadSafe
public static interface EventDestinationDefinition.Builder
extends SdkPojo, CopyableBuilder<EventDestinationDefinition.Builder,EventDestinationDefinition> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
cloudWatchLogsDestinationEventDestinationDefinition.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.
 
- 
cloudWatchLogsDestinationdefault 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.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 on- CloudWatchLogsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
enabledIndicates 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.
 
- 
kinesisFirehoseDestinationEventDestinationDefinition.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.
 
- 
kinesisFirehoseDestinationdefault 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.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 on- KinesisFirehoseDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
matchingEventTypesWithStringsEventDestinationDefinition.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.
 
- 
matchingEventTypesWithStringsSets 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.
 
- 
matchingEventTypesSets 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.
 
- 
matchingEventTypesSets 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.
 
- 
snsDestinationSets 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.
 
- 
snsDestinationdefault 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.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 on- SnsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-