Class BusinessUnitNameChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.BusinessUnitNameChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<BusinessUnitNameChangedMessagePayload>
public class BusinessUnitNameChangedMessagePayloadBuilder
extends Object
implements Builder<BusinessUnitNameChangedMessagePayload>
BusinessUnitNameChangedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitNameChangedMessagePayload businessUnitNameChangedMessagePayload = BusinessUnitNameChangedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds BusinessUnitNameChangedMessagePayload with checking for non-null required valuesbuilds BusinessUnitNameChangedMessagePayload without checking for non-null required valuesgetName()
Updated name of the Business Unit.Updated name of the Business Unit.of()
factory method for an instance of BusinessUnitNameChangedMessagePayloadBuilderof
(BusinessUnitNameChangedMessagePayload template) create builder for BusinessUnitNameChangedMessagePayload instance
-
Constructor Details
-
BusinessUnitNameChangedMessagePayloadBuilder
public BusinessUnitNameChangedMessagePayloadBuilder()
-
-
Method Details
-
name
Updated name of the Business Unit.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Updated name of the Business Unit.
- Returns:
- name
-
build
builds BusinessUnitNameChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitNameChangedMessagePayload>
- Returns:
- BusinessUnitNameChangedMessagePayload
-
buildUnchecked
builds BusinessUnitNameChangedMessagePayload without checking for non-null required values- Returns:
- BusinessUnitNameChangedMessagePayload
-
of
factory method for an instance of BusinessUnitNameChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static BusinessUnitNameChangedMessagePayloadBuilder of(BusinessUnitNameChangedMessagePayload template) create builder for BusinessUnitNameChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-