Interface ImportValidationFailedEventData
public interface ImportValidationFailedEventData
The data of the Import Validation Failed Event.
Example to create an instance using the builder pattern
ImportValidationFailedEventData importValidationFailedEventData = ImportValidationFailedEventData.builder()
.id("{id}")
.version(1)
.importContainerKey("{importContainerKey}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ImportValidationFailedEventDatabuilder(ImportValidationFailedEventData template) create builder for ImportValidationFailedEventData instancecopyDeep()deepCopy(ImportValidationFailedEventData template) factory method to create a deep copy of ImportValidationFailedEventData@NotNull StringgetId()Theidof the Import Operation with thevalidationFailedstate.@NotNull StringThekeyof the Import Container.@NotNull IntegerTheversionof the Import Operation with thevalidationFailedstate.of()factory methodof(ImportValidationFailedEventData template) factory method to create a shallow copy ImportValidationFailedEventDatavoidTheidof the Import Operation with thevalidationFailedstate.voidsetImportContainerKey(String importContainerKey) Thekeyof the Import Container.voidsetVersion(Integer version) Theversionof the Import Operation with thevalidationFailedstate.static com.fasterxml.jackson.core.type.TypeReference<ImportValidationFailedEventData>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getId
The
idof the Import Operation with thevalidationFailedstate.- Returns:
- id
-
getVersion
The
versionof the Import Operation with thevalidationFailedstate.- Returns:
- version
-
getImportContainerKey
The
keyof the Import Container.- Returns:
- importContainerKey
-
setId
The
idof the Import Operation with thevalidationFailedstate.- Parameters:
id- value to be set
-
setVersion
The
versionof the Import Operation with thevalidationFailedstate.- Parameters:
version- value to be set
-
setImportContainerKey
The
keyof the Import Container.- Parameters:
importContainerKey- value to be set
-
of
factory method- Returns:
- instance of ImportValidationFailedEventData
-
of
factory method to create a shallow copy ImportValidationFailedEventData- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ImportValidationFailedEventData copyDeep() -
deepCopy
@Nullable static ImportValidationFailedEventData deepCopy(@Nullable ImportValidationFailedEventData template) factory method to create a deep copy of ImportValidationFailedEventData- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportValidationFailedEventData- Returns:
- builder
-
builder
create builder for ImportValidationFailedEventData instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withImportValidationFailedEventData
default <T> T withImportValidationFailedEventData(Function<ImportValidationFailedEventData, 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<ImportValidationFailedEventData> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-