Class ProductUnpublishedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.ProductUnpublishedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<ProductUnpublishedMessagePayload>
public class ProductUnpublishedMessagePayloadBuilder
extends Object
implements Builder<ProductUnpublishedMessagePayload>
ProductUnpublishedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductUnpublishedMessagePayload productUnpublishedMessagePayload = ProductUnpublishedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductUnpublishedMessagePayload with checking for non-null required valuesbuilds ProductUnpublishedMessagePayload without checking for non-null required valuesof()
factory method for an instance of ProductUnpublishedMessagePayloadBuilderof
(ProductUnpublishedMessagePayload template) create builder for ProductUnpublishedMessagePayload instance
-
Constructor Details
-
ProductUnpublishedMessagePayloadBuilder
public ProductUnpublishedMessagePayloadBuilder()
-
-
Method Details
-
build
builds ProductUnpublishedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductUnpublishedMessagePayload>
- Returns:
- ProductUnpublishedMessagePayload
-
buildUnchecked
builds ProductUnpublishedMessagePayload without checking for non-null required values- Returns:
- ProductUnpublishedMessagePayload
-
of
factory method for an instance of ProductUnpublishedMessagePayloadBuilder- Returns:
- builder
-
of
create builder for ProductUnpublishedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-