Package com.commercetools.api.models.me
Class MyCustomerChangeEmailActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerChangeEmailActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerChangeEmailAction>
public class MyCustomerChangeEmailActionBuilder
extends Object
implements Builder<MyCustomerChangeEmailAction>
MyCustomerChangeEmailActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerChangeEmailAction myCustomerChangeEmailAction = MyCustomerChangeEmailAction.builder()
.email("{email}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCustomerChangeEmailAction with checking for non-null required valuesbuilds MyCustomerChangeEmailAction without checking for non-null required valuesNew value to set.getEmail()
New value to set.of()
factory method for an instance of MyCustomerChangeEmailActionBuilderof
(MyCustomerChangeEmailAction template) create builder for MyCustomerChangeEmailAction instance
-
Constructor Details
-
MyCustomerChangeEmailActionBuilder
public MyCustomerChangeEmailActionBuilder()
-
-
Method Details
-
email
New value to set.
- Parameters:
email
- value to be set- Returns:
- Builder
-
getEmail
New value to set.
- Returns:
-
build
builds MyCustomerChangeEmailAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerChangeEmailAction>
- Returns:
- MyCustomerChangeEmailAction
-
buildUnchecked
builds MyCustomerChangeEmailAction without checking for non-null required values- Returns:
- MyCustomerChangeEmailAction
-
of
factory method for an instance of MyCustomerChangeEmailActionBuilder- Returns:
- builder
-
of
create builder for MyCustomerChangeEmailAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-