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