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