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