Interface ImportOperationStatus


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

     ImportOperationStatus importOperationStatus = ImportOperationStatus.builder()
             .state(ImportOperationState.PROCESSING)
             .build()
 
  • Method Details

    • getOperationId

      String getOperationId()

      The ID of the ImportOperation.

      Returns:
      operationId
    • getState

      @NotNull @NotNull ImportOperationState getState()

      The validation state of the ImportOperation.

      Returns:
      state
    • getErrors

      @Valid @Valid List<ErrorObject> getErrors()

      The validation errors for the ImportOperation. See Errors.

      Returns:
      errors
    • setOperationId

      void setOperationId(String operationId)

      The ID of the ImportOperation.

      Parameters:
      operationId - value to be set
    • setState

      void setState(ImportOperationState state)

      The validation state of the ImportOperation.

      Parameters:
      state - value to be set
    • setErrors

      void setErrors(ErrorObject... errors)

      The validation errors for the ImportOperation. See Errors.

      Parameters:
      errors - values to be set
    • setErrors

      void setErrors(List<ErrorObject> errors)

      The validation errors for the ImportOperation. See Errors.

      Parameters:
      errors - values to be set
    • of

      static ImportOperationStatus of()
      factory method
      Returns:
      instance of ImportOperationStatus
    • of

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

      factory method to create a deep copy of ImportOperationStatus
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static ImportOperationStatusBuilder builder()
      builder factory method for ImportOperationStatus
      Returns:
      builder
    • builder

      create builder for ImportOperationStatus instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withImportOperationStatus

      default <T> T withImportOperationStatus(Function<ImportOperationStatus,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<ImportOperationStatus> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference