Class ProductRevertedStagedChangesMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.ProductRevertedStagedChangesMessagePayloadBuilder
- All Implemented Interfaces:
Builder<ProductRevertedStagedChangesMessagePayload>
public class ProductRevertedStagedChangesMessagePayloadBuilder
extends Object
implements Builder<ProductRevertedStagedChangesMessagePayload>
ProductRevertedStagedChangesMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductRevertedStagedChangesMessagePayload productRevertedStagedChangesMessagePayload = ProductRevertedStagedChangesMessagePayload.builder()
.plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductRevertedStagedChangesMessagePayload with checking for non-null required valuesbuilds ProductRevertedStagedChangesMessagePayload without checking for non-null required valuesList of image URLs that were removed during the Revert Staged Changes update action.of()
factory method for an instance of ProductRevertedStagedChangesMessagePayloadBuilderof
(ProductRevertedStagedChangesMessagePayload template) create builder for ProductRevertedStagedChangesMessagePayload instanceplusRemovedImageUrls
(String... removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.removedImageUrls
(String... removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.removedImageUrls
(List<String> removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.
-
Constructor Details
-
ProductRevertedStagedChangesMessagePayloadBuilder
public ProductRevertedStagedChangesMessagePayloadBuilder()
-
-
Method Details
-
removedImageUrls
public ProductRevertedStagedChangesMessagePayloadBuilder removedImageUrls(String... removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.
- Parameters:
removedImageUrls
- value to be set- Returns:
- Builder
-
removedImageUrls
public ProductRevertedStagedChangesMessagePayloadBuilder removedImageUrls(List<String> removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.
- Parameters:
removedImageUrls
- value to be set- Returns:
- Builder
-
plusRemovedImageUrls
public ProductRevertedStagedChangesMessagePayloadBuilder plusRemovedImageUrls(String... removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.
- Parameters:
removedImageUrls
- value to be set- Returns:
- Builder
-
getRemovedImageUrls
List of image URLs that were removed during the Revert Staged Changes update action.
- Returns:
- removedImageUrls
-
build
builds ProductRevertedStagedChangesMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductRevertedStagedChangesMessagePayload>
- Returns:
- ProductRevertedStagedChangesMessagePayload
-
buildUnchecked
builds ProductRevertedStagedChangesMessagePayload without checking for non-null required values- Returns:
- ProductRevertedStagedChangesMessagePayload
-
of
factory method for an instance of ProductRevertedStagedChangesMessagePayloadBuilder- Returns:
- builder
-
of
public static ProductRevertedStagedChangesMessagePayloadBuilder of(ProductRevertedStagedChangesMessagePayload template) create builder for ProductRevertedStagedChangesMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-