Interface ImportOperationStatus
public interface ImportOperationStatus
ImportOperationStatus
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ImportOperationStatus importOperationStatus = ImportOperationStatus.builder()
.state(ImportOperationState.PROCESSING)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImportOperationStatusBuilder
builder()
builder factory method for ImportOperationStatusstatic ImportOperationStatusBuilder
builder
(ImportOperationStatus template) create builder for ImportOperationStatus instancestatic ImportOperationStatus
deepCopy
(ImportOperationStatus template) factory method to create a deep copy of ImportOperationStatus@Valid List<ErrorObject>
The validation errors for the ImportOperation.The ID of the ImportOperation.@NotNull ImportOperationState
getState()
The validation state of the ImportOperation.static ImportOperationStatus
of()
factory methodstatic ImportOperationStatus
of
(ImportOperationStatus template) factory method to create a shallow copy ImportOperationStatusvoid
setErrors
(ErrorObject... errors) The validation errors for the ImportOperation.void
setErrors
(List<ErrorObject> errors) The validation errors for the ImportOperation.void
setOperationId
(String operationId) The ID of the ImportOperation.void
setState
(ImportOperationState state) The validation state of the ImportOperation.static com.fasterxml.jackson.core.type.TypeReference<ImportOperationStatus>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getOperationId
String getOperationId()The ID of the ImportOperation.
- Returns:
- operationId
-
getState
The validation state of the ImportOperation.
- Returns:
- state
-
getErrors
The validation errors for the ImportOperation. See Errors.
- Returns:
- errors
-
setOperationId
The ID of the ImportOperation.
- Parameters:
operationId
- value to be set
-
setState
The validation state of the ImportOperation.
- Parameters:
state
- value to be set
-
setErrors
The validation errors for the ImportOperation. See Errors.
- Parameters:
errors
- values to be set
-
setErrors
The validation errors for the ImportOperation. See Errors.
- Parameters:
errors
- values to be set
-
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
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
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
-