Class GoogleCloudPubSubDestinationBuilder

java.lang.Object
com.commercetools.api.models.subscription.GoogleCloudPubSubDestinationBuilder
All Implemented Interfaces:
Builder<GoogleCloudPubSubDestination>

public class GoogleCloudPubSubDestinationBuilder extends Object implements Builder<GoogleCloudPubSubDestination>
GoogleCloudPubSubDestinationBuilder
Example to create an instance using the builder pattern

     GoogleCloudPubSubDestination googleCloudPubSubDestination = GoogleCloudPubSubDestination.builder()
             .projectId("{projectId}")
             .topic("{topic}")
             .build()
 
  • Constructor Details

    • GoogleCloudPubSubDestinationBuilder

      public GoogleCloudPubSubDestinationBuilder()
  • Method Details