Package com.commercetools.api.models.me
Class MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder
- All Implemented Interfaces:
Builder<MyShoppingListSetDeleteDaysAfterLastModificationAction>
public class MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder
extends Object
implements Builder<MyShoppingListSetDeleteDaysAfterLastModificationAction>
MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyShoppingListSetDeleteDaysAfterLastModificationAction myShoppingListSetDeleteDaysAfterLastModificationAction = MyShoppingListSetDeleteDaysAfterLastModificationAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyShoppingListSetDeleteDaysAfterLastModificationAction with checking for non-null required valuesbuilds MyShoppingListSetDeleteDaysAfterLastModificationAction without checking for non-null required valuesdeleteDaysAfterLastModification
(Long deleteDaysAfterLastModification) Value to set.Value to set.of()
factory method for an instance of MyShoppingListSetDeleteDaysAfterLastModificationActionBuildercreate builder for MyShoppingListSetDeleteDaysAfterLastModificationAction instance
-
Constructor Details
-
MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder
public MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder()
-
-
Method Details
-
deleteDaysAfterLastModification
public MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder 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 MyShoppingListSetDeleteDaysAfterLastModificationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyShoppingListSetDeleteDaysAfterLastModificationAction>
- Returns:
- MyShoppingListSetDeleteDaysAfterLastModificationAction
-
buildUnchecked
builds MyShoppingListSetDeleteDaysAfterLastModificationAction without checking for non-null required values- Returns:
- MyShoppingListSetDeleteDaysAfterLastModificationAction
-
of
factory method for an instance of MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder- Returns:
- builder
-
of
public static MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder of(MyShoppingListSetDeleteDaysAfterLastModificationAction template) create builder for MyShoppingListSetDeleteDaysAfterLastModificationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-