Class SetPasswordChangeBuilder
java.lang.Object
com.commercetools.history.models.change.SetPasswordChangeBuilder
- All Implemented Interfaces:
Builder<SetPasswordChange>
SetPasswordChangeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SetPasswordChange setPasswordChange = SetPasswordChange.builder()
.change("{change}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds SetPasswordChange with checking for non-null required valuesbuilds SetPasswordChange without checking for non-null required valuesset the value to the changevalue of change}static SetPasswordChangeBuilderof()factory method for an instance of SetPasswordChangeBuilderstatic SetPasswordChangeBuilderof(SetPasswordChange template) create builder for SetPasswordChange instance
-
Constructor Details
-
SetPasswordChangeBuilder
public SetPasswordChangeBuilder()
-
-
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 SetPasswordChange with checking for non-null required values- Specified by:
buildin interfaceBuilder<SetPasswordChange>- Returns:
- SetPasswordChange
-
buildUnchecked
builds SetPasswordChange without checking for non-null required values- Returns:
- SetPasswordChange
-
of
factory method for an instance of SetPasswordChangeBuilder- Returns:
- builder
-
of
create builder for SetPasswordChange instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-