Interface AzureServiceBusDestination
- All Superinterfaces:
Destination
Azure Service Bus can be used as a pull-queue with Queues, or to fan-out notifications with Topics and Subscriptions. To set up a Subscription with Azure Service Bus, first create a queue/topic in the Azure Portal with a Shared Access Policy including the Send
permission.
Example to create an instance using the builder pattern
AzureServiceBusDestination azureServiceBusDestination = AzureServiceBusDestination.builder()
.connectionString("{connectionString}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AzureServiceBusDestination -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AzureServiceBusDestinationbuilder
(AzureServiceBusDestination template) create builder for AzureServiceBusDestination instancestatic AzureServiceBusDestination
deepCopy
(AzureServiceBusDestination template) factory method to create a deep copy of AzureServiceBusDestination@NotNull String
SharedAccessKey is partially hidden on retrieval for security reasons.static AzureServiceBusDestination
of()
factory methodstatic AzureServiceBusDestination
of
(AzureServiceBusDestination template) factory method to create a shallow copy AzureServiceBusDestinationvoid
setConnectionString
(String connectionString) SharedAccessKey is partially hidden on retrieval for security reasons.static com.fasterxml.jackson.core.type.TypeReference<AzureServiceBusDestination>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.subscription.Destination
getType, withDestination
-
Field Details
-
AZURE_SERVICE_BUS
discriminator value for AzureServiceBusDestination- See Also:
-
-
Method Details
-
getConnectionString
SharedAccessKey is partially hidden on retrieval for security reasons.
- Returns:
- connectionString
-
setConnectionString
SharedAccessKey is partially hidden on retrieval for security reasons.
- Parameters:
connectionString
- value to be set
-
of
factory method- Returns:
- instance of AzureServiceBusDestination
-
of
factory method to create a shallow copy AzureServiceBusDestination- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AzureServiceBusDestination- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AzureServiceBusDestination- Returns:
- builder
-
builder
create builder for AzureServiceBusDestination instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAzureServiceBusDestination
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
-