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