Class AzureEventGridDestinationBuilder
java.lang.Object
com.commercetools.api.models.subscription.AzureEventGridDestinationBuilder
- All Implemented Interfaces:
Builder<AzureEventGridDestination>
public class AzureEventGridDestinationBuilder
extends Object
implements Builder<AzureEventGridDestination>
AzureEventGridDestinationBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AzureEventGridDestination azureEventGridDestination = AzureEventGridDestination.builder()
.uri("{uri}")
.accessKey("{accessKey}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPartially hidden on retrieval for security reasons.build()
builds AzureEventGridDestination with checking for non-null required valuesbuilds AzureEventGridDestination without checking for non-null required valuesPartially hidden on retrieval for security reasons.getUri()
URI of the topic.of()
factory method for an instance of AzureEventGridDestinationBuilderof
(AzureEventGridDestination template) create builder for AzureEventGridDestination instanceURI of the topic.
-
Constructor Details
-
AzureEventGridDestinationBuilder
public AzureEventGridDestinationBuilder()
-
-
Method Details
-
uri
URI of the topic.
- Parameters:
uri
- value to be set- Returns:
- Builder
-
accessKey
Partially hidden on retrieval for security reasons.
- Parameters:
accessKey
- value to be set- Returns:
- Builder
-
getUri
URI of the topic.
- Returns:
- uri
-
getAccessKey
Partially hidden on retrieval for security reasons.
- Returns:
- accessKey
-
build
builds AzureEventGridDestination with checking for non-null required values- Specified by:
build
in interfaceBuilder<AzureEventGridDestination>
- Returns:
- AzureEventGridDestination
-
buildUnchecked
builds AzureEventGridDestination without checking for non-null required values- Returns:
- AzureEventGridDestination
-
of
factory method for an instance of AzureEventGridDestinationBuilder- Returns:
- builder
-
of
create builder for AzureEventGridDestination instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-