Interface SearchIndexingInProgressError
- All Superinterfaces:
ErrorObject
Returned when the indexing of Product information is still in progress for Projects that have indexing activated.
Example to create an instance using the builder pattern
SearchIndexingInProgressError searchIndexingInProgressError = SearchIndexingInProgressError.builder()
.message("{message}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for SearchIndexingInProgressError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchIndexingInProgressErrorbuilder
(SearchIndexingInProgressError template) create builder for SearchIndexingInProgressError instancedeepCopy
(SearchIndexingInProgressError template) factory method to create a deep copy of SearchIndexingInProgressError@NotNull String
getCode()
Error identifier.@NotNull String
"The indexing is currently in progress.
of()
factory methodof
(SearchIndexingInProgressError template) factory method to create a shallow copy SearchIndexingInProgressErrorvoid
setMessage
(String message) "The indexing is currently in progress.
static com.fasterxml.jackson.core.type.TypeReference<SearchIndexingInProgressError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.ErrorObject
setValue, values, withErrorObject
-
Field Details
-
SEARCH_INDEXING_IN_PROGRESS
discriminator value for SearchIndexingInProgressError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Returns:
- code
-
getMessage
"The indexing is currently in progress. Please wait until the status is "Activated" to execute search requests."
- Specified by:
getMessage
in interfaceErrorObject
- Returns:
- message
-
setMessage
"The indexing is currently in progress. Please wait until the status is "Activated" to execute search requests."
- Specified by:
setMessage
in interfaceErrorObject
- Parameters:
message
- value to be set
-
of
factory method- Returns:
- instance of SearchIndexingInProgressError
-
of
factory method to create a shallow copy SearchIndexingInProgressError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SearchIndexingInProgressError deepCopy(@Nullable SearchIndexingInProgressError template) factory method to create a deep copy of SearchIndexingInProgressError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchIndexingInProgressError- Returns:
- builder
-
builder
create builder for SearchIndexingInProgressError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchIndexingInProgressError
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-