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 AWSLambdaDestinationBuilder
builder for awsLambda subtypestatic ExtensionDestination
deepCopy
(ExtensionDestination template) factory method to create a deep copy of ExtensionDestination@NotNull String
getType()
builder for googleCloudFunction subtypestatic HttpDestinationBuilder
builder for http subtypestatic com.fasterxml.jackson.core.type.TypeReference<ExtensionDestination>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withExtensionDestination
(Function<ExtensionDestination, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
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
-