Interface Destination
- All Known Subinterfaces:
AzureEventGridDestination,AzureServiceBusDestination,ConfluentCloudDestination,EventBridgeDestination,GoogleCloudPubSubDestination,SnsDestination,SqsDestination
public interface Destination
Destination
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
Destination destination = Destination.eventGridBuilder()
uri("{uri}")
accessKey("{accessKey}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for azureServiceBus subtypebuilder for confluentCloud subtypecopyDeep()static DestinationdeepCopy(Destination template) factory method to create a deep copy of Destinationbuilder for eventBridge subtypebuilder for eventGrid subtype@NotNull StringgetType()builder for googleCloudPubSub subtypestatic SnsDestinationBuilderbuilder for sns subtypestatic SqsDestinationBuilderbuilder for sqs subtypestatic com.fasterxml.jackson.core.type.TypeReference<Destination>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithDestination(Function<Destination, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
copyDeep
Destination copyDeep() -
deepCopy
factory method to create a deep copy of Destination- Parameters:
template- instance to be copied- Returns:
- copy instance
-
eventGridBuilder
builder for eventGrid subtype- Returns:
- builder
-
azureServiceBusBuilder
builder for azureServiceBus subtype- Returns:
- builder
-
confluentCloudBuilder
builder for confluentCloud subtype- Returns:
- builder
-
eventBridgeBuilder
builder for eventBridge subtype- Returns:
- builder
-
googleCloudPubSubBuilder
builder for googleCloudPubSub subtype- Returns:
- builder
-
snsBuilder
builder for sns subtype- Returns:
- builder
-
sqsBuilder
builder for sqs subtype- Returns:
- builder
-
withDestination
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-