Interface BusinessUnitSearchIndexingStatusResponse
public interface BusinessUnitSearchIndexingStatusResponse
BusinessUnitSearchIndexingStatusResponse
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitSearchIndexingStatusResponse businessUnitSearchIndexingStatusResponse = BusinessUnitSearchIndexingStatusResponse.builder()
.status(BusinessUnitIndexingStatus.SCHEDULED)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitSearchIndexingStatusResponsecreate builder for BusinessUnitSearchIndexingStatusResponse instancefactory method to create a deep copy of BusinessUnitSearchIndexingStatusResponseTime 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 BusinessUnitIndexingProgress
Progress of indexing.@NotNull BusinessUnitIndexingStatus
Current status of indexing the Business Unit Search.of()
factory methodof
(BusinessUnitSearchIndexingStatusResponse template) factory method to create a shallow copy BusinessUnitSearchIndexingStatusResponsevoid
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
Progress of indexing.void
setStatus
(BusinessUnitIndexingStatus status) Current status of indexing the Business Unit Search.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitSearchIndexingStatusResponse>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitSearchIndexingStatusResponse
(Function<BusinessUnitSearchIndexingStatusResponse, T> helper) accessor map function
-
Method Details
-
getStatus
Current status of indexing the Business Unit 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 Business Unit 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 BusinessUnitSearchIndexingStatusResponse
-
of
static BusinessUnitSearchIndexingStatusResponse of(BusinessUnitSearchIndexingStatusResponse template) factory method to create a shallow copy BusinessUnitSearchIndexingStatusResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitSearchIndexingStatusResponse deepCopy(@Nullable BusinessUnitSearchIndexingStatusResponse template) factory method to create a deep copy of BusinessUnitSearchIndexingStatusResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitSearchIndexingStatusResponse- Returns:
- builder
-
builder
static BusinessUnitSearchIndexingStatusResponseBuilder builder(BusinessUnitSearchIndexingStatusResponse template) create builder for BusinessUnitSearchIndexingStatusResponse instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitSearchIndexingStatusResponse
default <T> T withBusinessUnitSearchIndexingStatusResponse(Function<BusinessUnitSearchIndexingStatusResponse, 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<BusinessUnitSearchIndexingStatusResponse> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-