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