Class StandalonePriceSetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.standalone_price.StandalonePriceSetKeyActionBuilder
- All Implemented Interfaces:
Builder<StandalonePriceSetKeyAction>
public class StandalonePriceSetKeyActionBuilder
extends Object
implements Builder<StandalonePriceSetKeyAction>
StandalonePriceSetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceSetKeyAction standalonePriceSetKeyAction = StandalonePriceSetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StandalonePriceSetKeyAction with checking for non-null required valuesbuilds StandalonePriceSetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.of()
factory method for an instance of StandalonePriceSetKeyActionBuilderof
(StandalonePriceSetKeyAction template) create builder for StandalonePriceSetKeyAction instance
-
Constructor Details
-
StandalonePriceSetKeyActionBuilder
public StandalonePriceSetKeyActionBuilder()
-
-
Method Details
-
key
Value to set. Must be unique. If empty, any existing value will be removed.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
Value to set. Must be unique. If empty, any existing value will be removed.
- Returns:
- key
-
build
builds StandalonePriceSetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StandalonePriceSetKeyAction>
- Returns:
- StandalonePriceSetKeyAction
-
buildUnchecked
builds StandalonePriceSetKeyAction without checking for non-null required values- Returns:
- StandalonePriceSetKeyAction
-
of
factory method for an instance of StandalonePriceSetKeyActionBuilder- Returns:
- builder
-
of
create builder for StandalonePriceSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-