Class ReviewSetAuthorNameActionBuilder
java.lang.Object
com.commercetools.api.models.review.ReviewSetAuthorNameActionBuilder
- All Implemented Interfaces:
Builder<ReviewSetAuthorNameAction>
public class ReviewSetAuthorNameActionBuilder
extends Object
implements Builder<ReviewSetAuthorNameAction>
ReviewSetAuthorNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetAuthorNameAction reviewSetAuthorNameAction = ReviewSetAuthorNameAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorName
(String authorName) Value to set.build()
builds ReviewSetAuthorNameAction with checking for non-null required valuesbuilds ReviewSetAuthorNameAction without checking for non-null required valuesValue to set.of()
factory method for an instance of ReviewSetAuthorNameActionBuilderof
(ReviewSetAuthorNameAction template) create builder for ReviewSetAuthorNameAction instance
-
Constructor Details
-
ReviewSetAuthorNameActionBuilder
public ReviewSetAuthorNameActionBuilder()
-
-
Method Details
-
authorName
Value to set. If empty, any existing value will be removed.
- Parameters:
authorName
- value to be set- Returns:
- Builder
-
getAuthorName
Value to set. If empty, any existing value will be removed.
- Returns:
- authorName
-
build
builds ReviewSetAuthorNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ReviewSetAuthorNameAction>
- Returns:
- ReviewSetAuthorNameAction
-
buildUnchecked
builds ReviewSetAuthorNameAction without checking for non-null required values- Returns:
- ReviewSetAuthorNameAction
-
of
factory method for an instance of ReviewSetAuthorNameActionBuilder- Returns:
- builder
-
of
create builder for ReviewSetAuthorNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-