Interface ExtensionDestination
- All Known Subinterfaces:
AWSLambdaDestination,ExtensionAWSLambdaDestination,ExtensionHttpDestination,GoogleCloudFunctionDestination,HttpDestination
public interface ExtensionDestination
Generic type for destinations.
Example to create a subtype instance using the builder pattern
ExtensionDestination extensionDestination = ExtensionDestination.awsLambdaBuilder()
arn("{arn}")
accessKey("{accessKey}")
accessSecret("{accessSecret}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic AWSLambdaDestinationBuilderbuilder for awsLambda subtypecopyDeep()static ExtensionDestinationdeepCopy(ExtensionDestination template) factory method to create a deep copy of ExtensionDestination@NotNull StringgetType()builder for googleCloudFunction subtypestatic HttpDestinationBuilderbuilder for http subtypestatic com.fasterxml.jackson.core.type.TypeReference<ExtensionDestination>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithExtensionDestination(Function<ExtensionDestination, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
copyDeep
ExtensionDestination copyDeep() -
deepCopy
factory method to create a deep copy of ExtensionDestination- Parameters:
template- instance to be copied- Returns:
- copy instance
-
awsLambdaBuilder
builder for awsLambda subtype- Returns:
- builder
-
googleCloudFunctionBuilder
builder for googleCloudFunction subtype- Returns:
- builder
-
httpBuilder
builder for http subtype- Returns:
- builder
-
withExtensionDestination
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
-