Class StandalonePriceSetValidFromActionBuilder
java.lang.Object
com.commercetools.api.models.standalone_price.StandalonePriceSetValidFromActionBuilder
- All Implemented Interfaces:
Builder<StandalonePriceSetValidFromAction>
public class StandalonePriceSetValidFromActionBuilder
extends Object
implements Builder<StandalonePriceSetValidFromAction>
StandalonePriceSetValidFromActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceSetValidFromAction standalonePriceSetValidFromAction = StandalonePriceSetValidFromAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StandalonePriceSetValidFromAction with checking for non-null required valuesbuilds StandalonePriceSetValidFromAction without checking for non-null required valuesValue to set.of()
factory method for an instance of StandalonePriceSetValidFromActionBuilderof
(StandalonePriceSetValidFromAction template) create builder for StandalonePriceSetValidFromAction instancevalidFrom
(ZonedDateTime validFrom) Value to set.
-
Constructor Details
-
StandalonePriceSetValidFromActionBuilder
public StandalonePriceSetValidFromActionBuilder()
-
-
Method Details
-
validFrom
Value to set. If empty, any existing value is removed.
- Parameters:
validFrom
- value to be set- Returns:
- Builder
-
getValidFrom
Value to set. If empty, any existing value is removed.
- Returns:
- validFrom
-
build
builds StandalonePriceSetValidFromAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StandalonePriceSetValidFromAction>
- Returns:
- StandalonePriceSetValidFromAction
-
buildUnchecked
builds StandalonePriceSetValidFromAction without checking for non-null required values- Returns:
- StandalonePriceSetValidFromAction
-
of
factory method for an instance of StandalonePriceSetValidFromActionBuilder- Returns:
- builder
-
of
public static StandalonePriceSetValidFromActionBuilder of(StandalonePriceSetValidFromAction template) create builder for StandalonePriceSetValidFromAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-