Class SearchFacetPathNotFoundErrorBuilder
java.lang.Object
com.commercetools.api.models.error.SearchFacetPathNotFoundErrorBuilder
- All Implemented Interfaces:
Builder<SearchFacetPathNotFoundError>
public class SearchFacetPathNotFoundErrorBuilder
extends Object
implements Builder<SearchFacetPathNotFoundError>
SearchFacetPathNotFoundErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchFacetPathNotFoundError searchFacetPathNotFoundError = SearchFacetPathNotFoundError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds SearchFacetPathNotFoundError with checking for non-null required valuesbuilds SearchFacetPathNotFoundError without checking for non-null required values"Facet path $path not found."
Error-specific additional fields."Facet path $path not found."
of()
factory method for an instance of SearchFacetPathNotFoundErrorBuilderof
(SearchFacetPathNotFoundError template) create builder for SearchFacetPathNotFoundError instanceError-specific additional fields.
-
Constructor Details
-
SearchFacetPathNotFoundErrorBuilder
public SearchFacetPathNotFoundErrorBuilder()
-
-
Method Details
-
message
"Facet path $path not found."
- Parameters:
message
- value to be set- Returns:
- Builder
-
values
Error-specific additional fields.
- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
getMessage
"Facet path $path not found."
- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds SearchFacetPathNotFoundError with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchFacetPathNotFoundError>
- Returns:
- SearchFacetPathNotFoundError
-
buildUnchecked
builds SearchFacetPathNotFoundError without checking for non-null required values- Returns:
- SearchFacetPathNotFoundError
-
of
factory method for an instance of SearchFacetPathNotFoundErrorBuilder- Returns:
- builder
-
of
create builder for SearchFacetPathNotFoundError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-