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 subtypestatic Destination
deepCopy
(Destination template) factory method to create a deep copy of Destinationbuilder for eventBridge subtypebuilder for eventGrid subtype@NotNull String
getType()
builder for googleCloudPubSub subtypestatic SnsDestinationBuilder
builder for sns subtypestatic SqsDestinationBuilder
builder for sqs subtypestatic com.fasterxml.jackson.core.type.TypeReference<Destination>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withDestination
(Function<Destination, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
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
-