Class ChangeTargetCustomLineItemsChangeValueBuilder
java.lang.Object
com.commercetools.history.models.change_value.ChangeTargetCustomLineItemsChangeValueBuilder
- All Implemented Interfaces:
Builder<ChangeTargetCustomLineItemsChangeValue>
public class ChangeTargetCustomLineItemsChangeValueBuilder
extends Object
implements Builder<ChangeTargetCustomLineItemsChangeValue>
ChangeTargetCustomLineItemsChangeValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChangeTargetCustomLineItemsChangeValue changeTargetCustomLineItemsChangeValue = ChangeTargetCustomLineItemsChangeValue.builder()
.predicate("{predicate}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ChangeTargetCustomLineItemsChangeValue with checking for non-null required valuesbuilds ChangeTargetCustomLineItemsChangeValue without checking for non-null required valuesValid CustomLineItem target predicate.of()
factory method for an instance of ChangeTargetCustomLineItemsChangeValueBuilderof
(ChangeTargetCustomLineItemsChangeValue template) create builder for ChangeTargetCustomLineItemsChangeValue instanceValid CustomLineItem target predicate.
-
Constructor Details
-
ChangeTargetCustomLineItemsChangeValueBuilder
public ChangeTargetCustomLineItemsChangeValueBuilder()
-
-
Method Details
-
predicate
Valid CustomLineItem target predicate.
- Parameters:
predicate
- value to be set- Returns:
- Builder
-
getPredicate
Valid CustomLineItem target predicate.
- Returns:
- predicate
-
build
builds ChangeTargetCustomLineItemsChangeValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<ChangeTargetCustomLineItemsChangeValue>
- Returns:
- ChangeTargetCustomLineItemsChangeValue
-
buildUnchecked
builds ChangeTargetCustomLineItemsChangeValue without checking for non-null required values- Returns:
- ChangeTargetCustomLineItemsChangeValue
-
of
factory method for an instance of ChangeTargetCustomLineItemsChangeValueBuilder- Returns:
- builder
-
of
public static ChangeTargetCustomLineItemsChangeValueBuilder of(ChangeTargetCustomLineItemsChangeValue template) create builder for ChangeTargetCustomLineItemsChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-