Class BusinessUnitContactEmailSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.BusinessUnitContactEmailSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<BusinessUnitContactEmailSetMessagePayload>
public class BusinessUnitContactEmailSetMessagePayloadBuilder
extends Object
implements Builder<BusinessUnitContactEmailSetMessagePayload>
BusinessUnitContactEmailSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitContactEmailSetMessagePayload businessUnitContactEmailSetMessagePayload = BusinessUnitContactEmailSetMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds BusinessUnitContactEmailSetMessagePayload with checking for non-null required valuesbuilds BusinessUnitContactEmailSetMessagePayload without checking for non-null required valuescontactEmail
(String contactEmail) The contact email that was updated on the Business Unit.The contact email that was updated on the Business Unit.of()
factory method for an instance of BusinessUnitContactEmailSetMessagePayloadBuilderof
(BusinessUnitContactEmailSetMessagePayload template) create builder for BusinessUnitContactEmailSetMessagePayload instance
-
Constructor Details
-
BusinessUnitContactEmailSetMessagePayloadBuilder
public BusinessUnitContactEmailSetMessagePayloadBuilder()
-
-
Method Details
-
contactEmail
The contact email that was updated on the Business Unit.
- Parameters:
contactEmail
- value to be set- Returns:
- Builder
-
getContactEmail
The contact email that was updated on the Business Unit.
- Returns:
- contactEmail
-
build
builds BusinessUnitContactEmailSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitContactEmailSetMessagePayload>
- Returns:
- BusinessUnitContactEmailSetMessagePayload
-
buildUnchecked
builds BusinessUnitContactEmailSetMessagePayload without checking for non-null required values- Returns:
- BusinessUnitContactEmailSetMessagePayload
-
of
factory method for an instance of BusinessUnitContactEmailSetMessagePayloadBuilder- Returns:
- builder
-
of
public static BusinessUnitContactEmailSetMessagePayloadBuilder of(BusinessUnitContactEmailSetMessagePayload template) create builder for BusinessUnitContactEmailSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-