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