Interface BusinessUnitSearchIndexingStatusResponse


public interface BusinessUnitSearchIndexingStatusResponse
BusinessUnitSearchIndexingStatusResponse
Example to create an instance using the builder pattern

     BusinessUnitSearchIndexingStatusResponse businessUnitSearchIndexingStatusResponse = BusinessUnitSearchIndexingStatusResponse.builder()
             .status(BusinessUnitIndexingStatus.SCHEDULED)
             .build()
 
  • Method Details

    • getStatus

      @NotNull @NotNull BusinessUnitIndexingStatus getStatus()

      Current status of indexing the Business Unit Search.

      Returns:
      status
    • getStates

      @Valid @Valid BusinessUnitIndexingProgress 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

      void setStatus(BusinessUnitIndexingStatus status)

      Current status of indexing the Business Unit Search.

      Parameters:
      status - value to be set
    • setStates

      void setStates(BusinessUnitIndexingProgress states)

      Progress of indexing. Only available when indexing is in progress.

      Parameters:
      states - value to be set
    • setStartedAt

      void setStartedAt(ZonedDateTime startedAt)

      Date and time (UTC) when the last indexing started.

      Parameters:
      startedAt - value to be set
    • setLastModifiedAt

      void setLastModifiedAt(ZonedDateTime lastModifiedAt)

      Time when the status was last modified.

      Parameters:
      lastModifiedAt - value to be set
    • setRetryCount

      void setRetryCount(Integer retryCount)

      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

      factory method to create a shallow copy BusinessUnitSearchIndexingStatusResponse
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      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

      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