Class SearchNotReadyErrorBuilder
java.lang.Object
com.commercetools.api.models.error.SearchNotReadyErrorBuilder
- All Implemented Interfaces:
Builder<SearchNotReadyError>
SearchNotReadyErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchNotReadyError searchNotReadyError = SearchNotReadyError.builder()
.message("{message}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()builds SearchNotReadyError with checking for non-null required valuesbuilds SearchNotReadyError without checking for non-null required values$Search is not ready.Error-specific additional fields.$Search is not ready.static SearchNotReadyErrorBuilderof()factory method for an instance of SearchNotReadyErrorBuilderstatic SearchNotReadyErrorBuilderof(SearchNotReadyError template) create builder for SearchNotReadyError instanceError-specific additional fields.
-
Constructor Details
-
SearchNotReadyErrorBuilder
public SearchNotReadyErrorBuilder()
-
-
Method Details
-
message
$Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.- 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
$Search is not ready. Check the indexing-status endpoint and that the feature has been activated in the project settings.- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds SearchNotReadyError with checking for non-null required values- Specified by:
buildin interfaceBuilder<SearchNotReadyError>- Returns:
- SearchNotReadyError
-
buildUnchecked
builds SearchNotReadyError without checking for non-null required values- Returns:
- SearchNotReadyError
-
of
factory method for an instance of SearchNotReadyErrorBuilder- Returns:
- builder
-
of
create builder for SearchNotReadyError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-