Class ShoppingListSetDeleteDaysAfterLastModificationActionBuilder
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListSetDeleteDaysAfterLastModificationActionBuilder
- All Implemented Interfaces:
Builder<ShoppingListSetDeleteDaysAfterLastModificationAction>
public class ShoppingListSetDeleteDaysAfterLastModificationActionBuilder
extends Object
implements Builder<ShoppingListSetDeleteDaysAfterLastModificationAction>
ShoppingListSetDeleteDaysAfterLastModificationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListSetDeleteDaysAfterLastModificationAction shoppingListSetDeleteDaysAfterLastModificationAction = ShoppingListSetDeleteDaysAfterLastModificationAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ShoppingListSetDeleteDaysAfterLastModificationAction with checking for non-null required valuesbuilds ShoppingListSetDeleteDaysAfterLastModificationAction without checking for non-null required valuesdeleteDaysAfterLastModification
(Long deleteDaysAfterLastModification) Value to set.Value to set.of()
factory method for an instance of ShoppingListSetDeleteDaysAfterLastModificationActionBuildercreate builder for ShoppingListSetDeleteDaysAfterLastModificationAction instance
-
Constructor Details
-
ShoppingListSetDeleteDaysAfterLastModificationActionBuilder
public ShoppingListSetDeleteDaysAfterLastModificationActionBuilder()
-
-
Method Details
-
deleteDaysAfterLastModification
public ShoppingListSetDeleteDaysAfterLastModificationActionBuilder deleteDaysAfterLastModification(@Nullable Long deleteDaysAfterLastModification) Value to set. If empty, any existing value will be removed.
- Parameters:
deleteDaysAfterLastModification
- value to be set- Returns:
- Builder
-
getDeleteDaysAfterLastModification
Value to set. If empty, any existing value will be removed.
- Returns:
- deleteDaysAfterLastModification
-
build
builds ShoppingListSetDeleteDaysAfterLastModificationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ShoppingListSetDeleteDaysAfterLastModificationAction>
- Returns:
- ShoppingListSetDeleteDaysAfterLastModificationAction
-
buildUnchecked
builds ShoppingListSetDeleteDaysAfterLastModificationAction without checking for non-null required values- Returns:
- ShoppingListSetDeleteDaysAfterLastModificationAction
-
of
factory method for an instance of ShoppingListSetDeleteDaysAfterLastModificationActionBuilder- Returns:
- builder
-
of
public static ShoppingListSetDeleteDaysAfterLastModificationActionBuilder of(ShoppingListSetDeleteDaysAfterLastModificationAction template) create builder for ShoppingListSetDeleteDaysAfterLastModificationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-