Class ReviewSetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.review.ReviewSetKeyActionBuilder
- All Implemented Interfaces:
Builder<ReviewSetKeyAction>
ReviewSetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetKeyAction reviewSetKeyAction = ReviewSetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ReviewSetKeyAction with checking for non-null required valuesbuilds ReviewSetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.static ReviewSetKeyActionBuilder
of()
factory method for an instance of ReviewSetKeyActionBuilderstatic ReviewSetKeyActionBuilder
of
(ReviewSetKeyAction template) create builder for ReviewSetKeyAction instance
-
Constructor Details
-
ReviewSetKeyActionBuilder
public ReviewSetKeyActionBuilder()
-
-
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 ReviewSetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ReviewSetKeyAction>
- Returns:
- ReviewSetKeyAction
-
buildUnchecked
builds ReviewSetKeyAction without checking for non-null required values- Returns:
- ReviewSetKeyAction
-
of
factory method for an instance of ReviewSetKeyActionBuilder- Returns:
- builder
-
of
create builder for ReviewSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-