Class TypeChangeKeyActionBuilder
java.lang.Object
com.commercetools.api.models.type.TypeChangeKeyActionBuilder
- All Implemented Interfaces:
Builder<TypeChangeKeyAction>
TypeChangeKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeKeyAction typeChangeKeyAction = TypeChangeKeyAction.builder()
.key("{key}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TypeChangeKeyAction with checking for non-null required valuesbuilds TypeChangeKeyAction without checking for non-null required valuesgetKey()
New value to set.New value to set.static TypeChangeKeyActionBuilder
of()
factory method for an instance of TypeChangeKeyActionBuilderstatic TypeChangeKeyActionBuilder
of
(TypeChangeKeyAction template) create builder for TypeChangeKeyAction instance
-
Constructor Details
-
TypeChangeKeyActionBuilder
public TypeChangeKeyActionBuilder()
-
-
Method Details
-
key
New value to set. Must not be empty.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
New value to set. Must not be empty.
- Returns:
- key
-
build
builds TypeChangeKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TypeChangeKeyAction>
- Returns:
- TypeChangeKeyAction
-
buildUnchecked
builds TypeChangeKeyAction without checking for non-null required values- Returns:
- TypeChangeKeyAction
-
of
factory method for an instance of TypeChangeKeyActionBuilder- Returns:
- builder
-
of
create builder for TypeChangeKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-