Class CustomerSetTitleActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerSetTitleActionBuilder
- All Implemented Interfaces:
Builder<CustomerSetTitleAction>
public class CustomerSetTitleActionBuilder
extends Object
implements Builder<CustomerSetTitleAction>
CustomerSetTitleActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetTitleAction customerSetTitleAction = CustomerSetTitleAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerSetTitleAction with checking for non-null required valuesbuilds CustomerSetTitleAction without checking for non-null required valuesgetTitle()
Value to set.of()
factory method for an instance of CustomerSetTitleActionBuilderof
(CustomerSetTitleAction template) create builder for CustomerSetTitleAction instanceValue to set.
-
Constructor Details
-
CustomerSetTitleActionBuilder
public CustomerSetTitleActionBuilder()
-
-
Method Details
-
title
Value to set. If empty, any existing value is removed.
- Parameters:
title
- value to be set- Returns:
- Builder
-
getTitle
Value to set. If empty, any existing value is removed.
- Returns:
- title
-
build
builds CustomerSetTitleAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerSetTitleAction>
- Returns:
- CustomerSetTitleAction
-
buildUnchecked
builds CustomerSetTitleAction without checking for non-null required values- Returns:
- CustomerSetTitleAction
-
of
factory method for an instance of CustomerSetTitleActionBuilder- Returns:
- builder
-
of
create builder for CustomerSetTitleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-