Class ReviewSetRatingActionBuilder
java.lang.Object
com.commercetools.api.models.review.ReviewSetRatingActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ReviewSetRatingAction>
public class ReviewSetRatingActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<ReviewSetRatingAction>
ReviewSetRatingActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetRatingAction reviewSetRatingAction = ReviewSetRatingAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ReviewSetRatingAction with checking for non-null required valuesbuilds ReviewSetRatingAction without checking for non-null required valuesValue to set.static ReviewSetRatingActionBuilder
of()
factory method for an instance of ReviewSetRatingActionBuilderstatic ReviewSetRatingActionBuilder
of
(ReviewSetRatingAction template) create builder for ReviewSetRatingAction instanceValue to set.
-
Constructor Details
-
ReviewSetRatingActionBuilder
public ReviewSetRatingActionBuilder()
-
-
Method Details
-
rating
Value to set. If empty, any existing value will be removed.
- Parameters:
rating
- value to be set- Returns:
- Builder
-
getRating
Value to set. If empty, any existing value will be removed.
- Returns:
- rating
-
build
builds ReviewSetRatingAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<ReviewSetRatingAction>
- Returns:
- ReviewSetRatingAction
-
buildUnchecked
builds ReviewSetRatingAction without checking for non-null required values- Returns:
- ReviewSetRatingAction
-
of
factory method for an instance of ReviewSetRatingActionBuilder- Returns:
- builder
-
of
create builder for ReviewSetRatingAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-