Class SearchIndexingInProgressErrorBuilder
java.lang.Object
com.commercetools.api.models.error.SearchIndexingInProgressErrorBuilder
- All Implemented Interfaces:
Builder<SearchIndexingInProgressError>
public class SearchIndexingInProgressErrorBuilder
extends Object
implements Builder<SearchIndexingInProgressError>
SearchIndexingInProgressErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchIndexingInProgressError searchIndexingInProgressError = SearchIndexingInProgressError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds SearchIndexingInProgressError with checking for non-null required valuesbuilds SearchIndexingInProgressError without checking for non-null required values"The indexing is currently in progress.
Error-specific additional fields."The indexing is currently in progress.
of()
factory method for an instance of SearchIndexingInProgressErrorBuilderof
(SearchIndexingInProgressError template) create builder for SearchIndexingInProgressError instanceError-specific additional fields.
-
Constructor Details
-
SearchIndexingInProgressErrorBuilder
public SearchIndexingInProgressErrorBuilder()
-
-
Method Details
-
message
"The indexing is currently in progress. Please wait until the status is "Activated" to execute search requests."
- 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
"The indexing is currently in progress. Please wait until the status is "Activated" to execute search requests."
- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds SearchIndexingInProgressError with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchIndexingInProgressError>
- Returns:
- SearchIndexingInProgressError
-
buildUnchecked
builds SearchIndexingInProgressError without checking for non-null required values- Returns:
- SearchIndexingInProgressError
-
of
factory method for an instance of SearchIndexingInProgressErrorBuilder- Returns:
- builder
-
of
create builder for SearchIndexingInProgressError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-