Class AzureServiceBusDestinationBuilder
java.lang.Object
com.commercetools.api.models.subscription.AzureServiceBusDestinationBuilder
- All Implemented Interfaces:
Builder<AzureServiceBusDestination>
public class AzureServiceBusDestinationBuilder
extends Object
implements Builder<AzureServiceBusDestination>
AzureServiceBusDestinationBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AzureServiceBusDestination azureServiceBusDestination = AzureServiceBusDestination.builder()
.connectionString("{connectionString}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AzureServiceBusDestination with checking for non-null required valuesbuilds AzureServiceBusDestination without checking for non-null required valuesconnectionString
(String connectionString) SharedAccessKey is partially hidden on retrieval for security reasons.SharedAccessKey is partially hidden on retrieval for security reasons.of()
factory method for an instance of AzureServiceBusDestinationBuilderof
(AzureServiceBusDestination template) create builder for AzureServiceBusDestination instance
-
Constructor Details
-
AzureServiceBusDestinationBuilder
public AzureServiceBusDestinationBuilder()
-
-
Method Details
-
connectionString
SharedAccessKey is partially hidden on retrieval for security reasons.
- Parameters:
connectionString
- value to be set- Returns:
- Builder
-
getConnectionString
SharedAccessKey is partially hidden on retrieval for security reasons.
- Returns:
- connectionString
-
build
builds AzureServiceBusDestination with checking for non-null required values- Specified by:
build
in interfaceBuilder<AzureServiceBusDestination>
- Returns:
- AzureServiceBusDestination
-
buildUnchecked
builds AzureServiceBusDestination without checking for non-null required values- Returns:
- AzureServiceBusDestination
-
of
factory method for an instance of AzureServiceBusDestinationBuilder- Returns:
- builder
-
of
create builder for AzureServiceBusDestination instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-