Interface CustomerSearchIndexingStatusResponse
public interface CustomerSearchIndexingStatusResponse
CustomerSearchIndexingStatusResponse
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSearchIndexingStatusResponse customerSearchIndexingStatusResponse = CustomerSearchIndexingStatusResponse.builder()
.status(CustomerIndexingStatus.SCHEDULED)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSearchIndexingStatusResponsebuilder
(CustomerSearchIndexingStatusResponse template) create builder for CustomerSearchIndexingStatusResponse instancedeepCopy
(CustomerSearchIndexingStatusResponse template) factory method to create a deep copy of CustomerSearchIndexingStatusResponseTime when the status was last modified.Indicates how many times the system tried to start indexing after failed attempts.Date and time (UTC) when the last indexing started.@Valid CustomerIndexingProgress
Progress of indexing.@NotNull CustomerIndexingStatus
Current status of indexing the Customer Search.of()
factory methodof
(CustomerSearchIndexingStatusResponse template) factory method to create a shallow copy CustomerSearchIndexingStatusResponsevoid
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Time when the status was last modified.void
setRetryCount
(Integer retryCount) Indicates how many times the system tried to start indexing after failed attempts.void
setStartedAt
(ZonedDateTime startedAt) Date and time (UTC) when the last indexing started.void
setStates
(CustomerIndexingProgress states) Progress of indexing.void
setStatus
(CustomerIndexingStatus status) Current status of indexing the Customer Search.static com.fasterxml.jackson.core.type.TypeReference<CustomerSearchIndexingStatusResponse>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getStatus
Current status of indexing the Customer Search.
- Returns:
- status
-
getStates
Progress of indexing. Only available when indexing is in progress.
- Returns:
- states
-
getStartedAt
ZonedDateTime getStartedAt()Date and time (UTC) when the last indexing started.
- Returns:
- startedAt
-
getLastModifiedAt
ZonedDateTime getLastModifiedAt()Time when the status was last modified.
- Returns:
- lastModifiedAt
-
getRetryCount
Integer getRetryCount()Indicates how many times the system tried to start indexing after failed attempts. The counter is set to null after an indexing finished successfully.
- Returns:
- retryCount
-
setStatus
Current status of indexing the Customer Search.
- Parameters:
status
- value to be set
-
setStates
Progress of indexing. Only available when indexing is in progress.
- Parameters:
states
- value to be set
-
setStartedAt
Date and time (UTC) when the last indexing started.
- Parameters:
startedAt
- value to be set
-
setLastModifiedAt
Time when the status was last modified.
- Parameters:
lastModifiedAt
- value to be set
-
setRetryCount
Indicates how many times the system tried to start indexing after failed attempts. The counter is set to null after an indexing finished successfully.
- Parameters:
retryCount
- value to be set
-
of
factory method- Returns:
- instance of CustomerSearchIndexingStatusResponse
-
of
factory method to create a shallow copy CustomerSearchIndexingStatusResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerSearchIndexingStatusResponse deepCopy(@Nullable CustomerSearchIndexingStatusResponse template) factory method to create a deep copy of CustomerSearchIndexingStatusResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSearchIndexingStatusResponse- Returns:
- builder
-
builder
static CustomerSearchIndexingStatusResponseBuilder builder(CustomerSearchIndexingStatusResponse template) create builder for CustomerSearchIndexingStatusResponse instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSearchIndexingStatusResponse
default <T> T withCustomerSearchIndexingStatusResponse(Function<CustomerSearchIndexingStatusResponse, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomerSearchIndexingStatusResponse> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-