Class ProductTailoringSetMetaAttributesActionBuilder
- All Implemented Interfaces:
Builder<ProductTailoringSetMetaAttributesAction>
Example to create an instance using the builder pattern
ProductTailoringSetMetaAttributesAction productTailoringSetMetaAttributesAction = ProductTailoringSetMetaAttributesAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductTailoringSetMetaAttributesAction with checking for non-null required valuesbuilds ProductTailoringSetMetaAttributesAction without checking for non-null required valuesValue to set.Value to set.Value to set.Iftrue
, only the staged attributes are updated.metaDescription
(LocalizedString metaDescription) Value to set.Value to set.metaKeywords
(LocalizedString metaKeywords) Value to set.Value to set.metaTitle
(LocalizedString metaTitle) Value to set.Value to set.of()
factory method for an instance of ProductTailoringSetMetaAttributesActionBuilderof
(ProductTailoringSetMetaAttributesAction template) create builder for ProductTailoringSetMetaAttributesAction instanceIftrue
, only the staged attributes are updated.Value to set.Value to set.Value to set.
-
Constructor Details
-
ProductTailoringSetMetaAttributesActionBuilder
public ProductTailoringSetMetaAttributesActionBuilder()
-
-
Method Details
-
metaTitle
public ProductTailoringSetMetaAttributesActionBuilder metaTitle(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder
- function to build the metaTitle value- Returns:
- Builder
-
withMetaTitle
public ProductTailoringSetMetaAttributesActionBuilder withMetaTitle(Function<LocalizedStringBuilder, LocalizedString> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder
- function to build the metaTitle value- Returns:
- Builder
-
metaTitle
public ProductTailoringSetMetaAttributesActionBuilder metaTitle(@Nullable LocalizedString metaTitle) Value to set. If empty, any existing value will be removed.
- Parameters:
metaTitle
- value to be set- Returns:
- Builder
-
metaDescription
public ProductTailoringSetMetaAttributesActionBuilder metaDescription(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder
- function to build the metaDescription value- Returns:
- Builder
-
withMetaDescription
public ProductTailoringSetMetaAttributesActionBuilder withMetaDescription(Function<LocalizedStringBuilder, LocalizedString> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder
- function to build the metaDescription value- Returns:
- Builder
-
metaDescription
public ProductTailoringSetMetaAttributesActionBuilder metaDescription(@Nullable LocalizedString metaDescription) Value to set. If empty, any existing value will be removed.
- Parameters:
metaDescription
- value to be set- Returns:
- Builder
-
metaKeywords
public ProductTailoringSetMetaAttributesActionBuilder metaKeywords(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder
- function to build the metaKeywords value- Returns:
- Builder
-
withMetaKeywords
public ProductTailoringSetMetaAttributesActionBuilder withMetaKeywords(Function<LocalizedStringBuilder, LocalizedString> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder
- function to build the metaKeywords value- Returns:
- Builder
-
metaKeywords
public ProductTailoringSetMetaAttributesActionBuilder metaKeywords(@Nullable LocalizedString metaKeywords) Value to set. If empty, any existing value will be removed.
- Parameters:
metaKeywords
- value to be set- Returns:
- Builder
-
staged
If
true
, only the staged attributes are updated. Iffalse
, both the current and staged attributes are updated.- Parameters:
staged
- value to be set- Returns:
- Builder
-
getMetaTitle
Value to set. If empty, any existing value will be removed.
- Returns:
- metaTitle
-
getMetaDescription
Value to set. If empty, any existing value will be removed.
- Returns:
- metaDescription
-
getMetaKeywords
Value to set. If empty, any existing value will be removed.
- Returns:
- metaKeywords
-
getStaged
If
true
, only the staged attributes are updated. Iffalse
, both the current and staged attributes are updated.- Returns:
- staged
-
build
builds ProductTailoringSetMetaAttributesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTailoringSetMetaAttributesAction>
- Returns:
- ProductTailoringSetMetaAttributesAction
-
buildUnchecked
builds ProductTailoringSetMetaAttributesAction without checking for non-null required values- Returns:
- ProductTailoringSetMetaAttributesAction
-
of
factory method for an instance of ProductTailoringSetMetaAttributesActionBuilder- Returns:
- builder
-
of
public static ProductTailoringSetMetaAttributesActionBuilder of(ProductTailoringSetMetaAttributesAction template) create builder for ProductTailoringSetMetaAttributesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-