Package com.commercetools.api.models.me
Class MyCustomerSetSalutationActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerSetSalutationActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerSetSalutationAction>
public class MyCustomerSetSalutationActionBuilder
extends Object
implements Builder<MyCustomerSetSalutationAction>
MyCustomerSetSalutationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetSalutationAction myCustomerSetSalutationAction = MyCustomerSetSalutationAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCustomerSetSalutationAction with checking for non-null required valuesbuilds MyCustomerSetSalutationAction without checking for non-null required valuesValue to set.of()
factory method for an instance of MyCustomerSetSalutationActionBuilderof
(MyCustomerSetSalutationAction template) create builder for MyCustomerSetSalutationAction instancesalutation
(String salutation) Value to set.
-
Constructor Details
-
MyCustomerSetSalutationActionBuilder
public MyCustomerSetSalutationActionBuilder()
-
-
Method Details
-
salutation
Value to set. If empty, any existing value is removed.
- Parameters:
salutation
- value to be set- Returns:
- Builder
-
getSalutation
Value to set. If empty, any existing value is removed.
- Returns:
- salutation
-
build
builds MyCustomerSetSalutationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerSetSalutationAction>
- Returns:
- MyCustomerSetSalutationAction
-
buildUnchecked
builds MyCustomerSetSalutationAction without checking for non-null required values- Returns:
- MyCustomerSetSalutationAction
-
of
factory method for an instance of MyCustomerSetSalutationActionBuilder- Returns:
- builder
-
of
create builder for MyCustomerSetSalutationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-