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