Package com.commercetools.api.models.me
Class MyBusinessUnitSetContactEmailActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyBusinessUnitSetContactEmailActionBuilder
- All Implemented Interfaces:
Builder<MyBusinessUnitSetContactEmailAction>
public class MyBusinessUnitSetContactEmailActionBuilder
extends Object
implements Builder<MyBusinessUnitSetContactEmailAction>
MyBusinessUnitSetContactEmailActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyBusinessUnitSetContactEmailAction myBusinessUnitSetContactEmailAction = MyBusinessUnitSetContactEmailAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyBusinessUnitSetContactEmailAction with checking for non-null required valuesbuilds MyBusinessUnitSetContactEmailAction without checking for non-null required valuescontactEmail
(String contactEmail) Email to set.Email to set.of()
factory method for an instance of MyBusinessUnitSetContactEmailActionBuilderof
(MyBusinessUnitSetContactEmailAction template) create builder for MyBusinessUnitSetContactEmailAction instance
-
Constructor Details
-
MyBusinessUnitSetContactEmailActionBuilder
public MyBusinessUnitSetContactEmailActionBuilder()
-
-
Method Details
-
contactEmail
Email to set. If
contactEmail
is absent ornull
, the existing contact email, if any, will be removed.- Parameters:
contactEmail
- value to be set- Returns:
- Builder
-
getContactEmail
Email to set. If
contactEmail
is absent ornull
, the existing contact email, if any, will be removed.- Returns:
- contactEmail
-
build
builds MyBusinessUnitSetContactEmailAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyBusinessUnitSetContactEmailAction>
- Returns:
- MyBusinessUnitSetContactEmailAction
-
buildUnchecked
builds MyBusinessUnitSetContactEmailAction without checking for non-null required values- Returns:
- MyBusinessUnitSetContactEmailAction
-
of
factory method for an instance of MyBusinessUnitSetContactEmailActionBuilder- Returns:
- builder
-
of
public static MyBusinessUnitSetContactEmailActionBuilder of(MyBusinessUnitSetContactEmailAction template) create builder for MyBusinessUnitSetContactEmailAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-