Class AddAssociateChangeBuilder
java.lang.Object
com.commercetools.history.models.change.AddAssociateChangeBuilder
- All Implemented Interfaces:
Builder<AddAssociateChange>
@Deprecated
public class AddAssociateChangeBuilder
extends Object
implements Builder<AddAssociateChange>
Deprecated.
AddAssociateChangeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AddAssociateChange addAssociateChange = AddAssociateChange.builder()
.change("{change}")
.nextValue(nextValueBuilder -> nextValueBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.builds AddAssociateChange with checking for non-null required valuesDeprecated.builds AddAssociateChange without checking for non-null required valuesDeprecated.set the value to the changeDeprecated.value of change}Deprecated.Value after the change.Deprecated.Value after the change.nextValue(Function<AssociateBuilder, AssociateBuilder> builder) Deprecated.Value after the change.static AddAssociateChangeBuilderof()Deprecated.factory method for an instance of AddAssociateChangeBuilderstatic AddAssociateChangeBuilderof(AddAssociateChange template) Deprecated.create builder for AddAssociateChange instancewithNextValue(Function<AssociateBuilder, Associate> builder) Deprecated.Value after the change.
-
Constructor Details
-
AddAssociateChangeBuilder
public AddAssociateChangeBuilder()Deprecated.
-
-
Method Details
-
change
Deprecated.set the value to the change- Parameters:
change- value to be set- Returns:
- Builder
-
nextValue
Deprecated.Value after the change.
- Parameters:
builder- function to build the nextValue value- Returns:
- Builder
-
withNextValue
Deprecated.Value after the change.
- Parameters:
builder- function to build the nextValue value- Returns:
- Builder
-
nextValue
Deprecated.Value after the change.
- Parameters:
nextValue- value to be set- Returns:
- Builder
-
getChange
Deprecated.value of change}- Returns:
- change
-
getNextValue
Deprecated.Value after the change.
- Returns:
- nextValue
-
build
Deprecated.builds AddAssociateChange with checking for non-null required values- Specified by:
buildin interfaceBuilder<AddAssociateChange>- Returns:
- AddAssociateChange
-
buildUnchecked
Deprecated.builds AddAssociateChange without checking for non-null required values- Returns:
- AddAssociateChange
-
of
Deprecated.factory method for an instance of AddAssociateChangeBuilder- Returns:
- builder
-
of
Deprecated.create builder for AddAssociateChange instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-