Class VerifyEmailChangeBuilder
java.lang.Object
com.commercetools.history.models.change.VerifyEmailChangeBuilder
- All Implemented Interfaces:
Builder<VerifyEmailChange>
VerifyEmailChangeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
VerifyEmailChange verifyEmailChange = VerifyEmailChange.builder()
.change("{change}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds VerifyEmailChange with checking for non-null required valuesbuilds VerifyEmailChange without checking for non-null required valuesset the value to the changevalue of change}static VerifyEmailChangeBuilder
of()
factory method for an instance of VerifyEmailChangeBuilderstatic VerifyEmailChangeBuilder
of
(VerifyEmailChange template) create builder for VerifyEmailChange instance
-
Constructor Details
-
VerifyEmailChangeBuilder
public VerifyEmailChangeBuilder()
-
-
Method Details
-
change
set the value to the change- Parameters:
change
- value to be set- Returns:
- Builder
-
getChange
value of change}- Returns:
- change
-
build
builds VerifyEmailChange with checking for non-null required values- Specified by:
build
in interfaceBuilder<VerifyEmailChange>
- Returns:
- VerifyEmailChange
-
buildUnchecked
builds VerifyEmailChange without checking for non-null required values- Returns:
- VerifyEmailChange
-
of
factory method for an instance of VerifyEmailChangeBuilder- Returns:
- builder
-
of
create builder for VerifyEmailChange instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-