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