Class ProductTailoringSetExternalImagesActionBuilder
- All Implemented Interfaces:
Builder<ProductTailoringSetExternalImagesAction>
Example to create an instance using the builder pattern
ProductTailoringSetExternalImagesAction productTailoringSetExternalImagesAction = ProductTailoringSetExternalImagesAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddImages(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant or Variant.build()builds ProductTailoringSetExternalImagesAction with checking for non-null required valuesbuilds ProductTailoringSetExternalImagesAction without checking for non-null required valuesImages of the tailored ProductVariant or Variant.getSku()Theskuof the tailored ProductVariant or Variant to update.Whether only the stagedimagesis updated.Theidof the tailored ProductVariant or Variant to update.Images of the tailored ProductVariant or Variant.Images of the tailored ProductVariant or Variant.of()factory method for an instance of ProductTailoringSetExternalImagesActionBuilderof(ProductTailoringSetExternalImagesAction template) create builder for ProductTailoringSetExternalImagesAction instanceplusImages(Image... images) Images of the tailored ProductVariant or Variant.plusImages(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant or Variant.setImages(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant or Variant.Theskuof the tailored ProductVariant or Variant to update.Whether only the stagedimagesis updated.Theidof the tailored ProductVariant or Variant to update.withImages(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant or Variant.
-
Constructor Details
-
ProductTailoringSetExternalImagesActionBuilder
public ProductTailoringSetExternalImagesActionBuilder()
-
-
Method Details
-
variantId
The
idof the tailored ProductVariant or Variant to update.- Parameters:
variantId- value to be set- Returns:
- Builder
-
sku
The
skuof the tailored ProductVariant or Variant to update.- Parameters:
sku- value to be set- Returns:
- Builder
-
images
Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
images- value to be set- Returns:
- Builder
-
images
Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
images- value to be set- Returns:
- Builder
-
plusImages
Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
images- value to be set- Returns:
- Builder
-
plusImages
public ProductTailoringSetExternalImagesActionBuilder plusImages(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
builder- function to build the images value- Returns:
- Builder
-
withImages
public ProductTailoringSetExternalImagesActionBuilder withImages(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
builder- function to build the images value- Returns:
- Builder
-
addImages
public ProductTailoringSetExternalImagesActionBuilder addImages(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
builder- function to build the images value- Returns:
- Builder
-
setImages
public ProductTailoringSetExternalImagesActionBuilder setImages(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Parameters:
builder- function to build the images value- Returns:
- Builder
-
staged
Whether only the staged
imagesis updated. Iffalse, both the current and stagedimagesare updated.- Parameters:
staged- value to be set- Returns:
- Builder
-
getVariantId
The
idof the tailored ProductVariant or Variant to update.- Returns:
- variantId
-
getSku
The
skuof the tailored ProductVariant or Variant to update.- Returns:
- sku
-
getImages
Images of the tailored ProductVariant or Variant.
Don't provide this field if you want to remove all images from the tailored ProductVariant or Variant. Set to
[](empty) if you want to hide all images of the original ProductVariant or Variant on the tailored ProductVariant or Variant.- Returns:
- images
-
getStaged
Whether only the staged
imagesis updated. Iffalse, both the current and stagedimagesare updated.- Returns:
- staged
-
build
builds ProductTailoringSetExternalImagesAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<ProductTailoringSetExternalImagesAction>- Returns:
- ProductTailoringSetExternalImagesAction
-
buildUnchecked
builds ProductTailoringSetExternalImagesAction without checking for non-null required values- Returns:
- ProductTailoringSetExternalImagesAction
-
of
factory method for an instance of ProductTailoringSetExternalImagesActionBuilder- Returns:
- builder
-
of
public static ProductTailoringSetExternalImagesActionBuilder of(ProductTailoringSetExternalImagesAction template) create builder for ProductTailoringSetExternalImagesAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-