Class AgentProductsNotFoundWarningBuilder
java.lang.Object
com.commercetools.api.models.agent.AgentProductsNotFoundWarningBuilder
- All Implemented Interfaces:
Builder<AgentProductsNotFoundWarning>
public class AgentProductsNotFoundWarningBuilder
extends Object
implements Builder<AgentProductsNotFoundWarning>
AgentProductsNotFoundWarningBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AgentProductsNotFoundWarning agentProductsNotFoundWarning = AgentProductsNotFoundWarning.builder()
.message("{message}")
.plusProducts(productsBuilder -> productsBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds AgentProductsNotFoundWarning with checking for non-null required valuesbuilds AgentProductsNotFoundWarning without checking for non-null required valuesPlain text description of the unmatched Products.Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.Plain text description of the unmatched Products.of()factory method for an instance of AgentProductsNotFoundWarningBuilderof(AgentProductsNotFoundWarning template) create builder for AgentProductsNotFoundWarning instanceplusProducts(String... products) Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.
-
Constructor Details
-
AgentProductsNotFoundWarningBuilder
public AgentProductsNotFoundWarningBuilder()
-
-
Method Details
-
message
Plain text description of the unmatched Products.
- Parameters:
message- value to be set- Returns:
- Builder
-
products
Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.
- Parameters:
products- value to be set- Returns:
- Builder
-
products
Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.
- Parameters:
products- value to be set- Returns:
- Builder
-
plusProducts
Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.
- Parameters:
products- value to be set- Returns:
- Builder
-
getMessage
Plain text description of the unmatched Products.
- Returns:
- message
-
getProducts
Identifiers of the Products that could not be matched to the catalog, as they appeared in the input.
- Returns:
- products
-
build
builds AgentProductsNotFoundWarning with checking for non-null required values- Specified by:
buildin interfaceBuilder<AgentProductsNotFoundWarning>- Returns:
- AgentProductsNotFoundWarning
-
buildUnchecked
builds AgentProductsNotFoundWarning without checking for non-null required values- Returns:
- AgentProductsNotFoundWarning
-
of
factory method for an instance of AgentProductsNotFoundWarningBuilder- Returns:
- builder
-
of
create builder for AgentProductsNotFoundWarning instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-