Class SearchExecutionFailureErrorBuilder
java.lang.Object
com.commercetools.api.models.error.SearchExecutionFailureErrorBuilder
- All Implemented Interfaces:
Builder<SearchExecutionFailureError>
public class SearchExecutionFailureErrorBuilder
extends Object
implements Builder<SearchExecutionFailureError>
SearchExecutionFailureErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchExecutionFailureError searchExecutionFailureError = SearchExecutionFailureError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds SearchExecutionFailureError with checking for non-null required valuesbuilds SearchExecutionFailureError without checking for non-null required values"Something went wrong during the search query execution.
Error-specific additional fields."Something went wrong during the search query execution.
of()
factory method for an instance of SearchExecutionFailureErrorBuilderof
(SearchExecutionFailureError template) create builder for SearchExecutionFailureError instanceError-specific additional fields.
-
Constructor Details
-
SearchExecutionFailureErrorBuilder
public SearchExecutionFailureErrorBuilder()
-
-
Method Details
-
message
"Something went wrong during the search query execution. In most case this happens due to usage of non-existing fields and custom product attributes. Please verify all filters and facets in your search query and make sure that all paths are correct."
- 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
"Something went wrong during the search query execution. In most case this happens due to usage of non-existing fields and custom product attributes. Please verify all filters and facets in your search query and make sure that all paths are correct."
- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds SearchExecutionFailureError with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchExecutionFailureError>
- Returns:
- SearchExecutionFailureError
-
buildUnchecked
builds SearchExecutionFailureError without checking for non-null required values- Returns:
- SearchExecutionFailureError
-
of
factory method for an instance of SearchExecutionFailureErrorBuilder- Returns:
- builder
-
of
create builder for SearchExecutionFailureError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-