Interface ImportContainerCreatedEventData
public interface ImportContainerCreatedEventData
The data of the Import Container Created Event.
Example to create an instance using the builder pattern
ImportContainerCreatedEventData importContainerCreatedEventData = ImportContainerCreatedEventData.builder()
.key("{key}")
.version(1)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ImportContainerCreatedEventDatabuilder(ImportContainerCreatedEventData template) create builder for ImportContainerCreatedEventData instancecopyDeep()deepCopy(ImportContainerCreatedEventData template) factory method to create a deep copy of ImportContainerCreatedEventData@NotNull ZonedDateTimeDate and time (UTC) the Import Container was created.@NotNull StringgetKey()Thekeyof the created Import Container.@NotNull ZonedDateTimeDate and time (UTC) the Import Container was last updated.@NotNull IntegerTheversionof the created Import Container.of()factory methodof(ImportContainerCreatedEventData template) factory method to create a shallow copy ImportContainerCreatedEventDatavoidsetCreatedAt(ZonedDateTime createdAt) Date and time (UTC) the Import Container was created.voidThekeyof the created Import Container.voidsetLastModifiedAt(ZonedDateTime lastModifiedAt) Date and time (UTC) the Import Container was last updated.voidsetVersion(Integer version) Theversionof the created Import Container.static com.fasterxml.jackson.core.type.TypeReference<ImportContainerCreatedEventData>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getKey
The
keyof the created Import Container.- Returns:
- key
-
getVersion
The
versionof the created Import Container.- Returns:
- version
-
getCreatedAt
Date and time (UTC) the Import Container was created.
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the Import Container was last updated.
- Returns:
- lastModifiedAt
-
setKey
The
keyof the created Import Container.- Parameters:
key- value to be set
-
setVersion
The
versionof the created Import Container.- Parameters:
version- value to be set
-
setCreatedAt
Date and time (UTC) the Import Container was created.
- Parameters:
createdAt- value to be set
-
setLastModifiedAt
Date and time (UTC) the Import Container was last updated.
- Parameters:
lastModifiedAt- value to be set
-
of
factory method- Returns:
- instance of ImportContainerCreatedEventData
-
of
factory method to create a shallow copy ImportContainerCreatedEventData- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ImportContainerCreatedEventData copyDeep() -
deepCopy
@Nullable static ImportContainerCreatedEventData deepCopy(@Nullable ImportContainerCreatedEventData template) factory method to create a deep copy of ImportContainerCreatedEventData- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportContainerCreatedEventData- Returns:
- builder
-
builder
create builder for ImportContainerCreatedEventData instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withImportContainerCreatedEventData
default <T> T withImportContainerCreatedEventData(Function<ImportContainerCreatedEventData, 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<ImportContainerCreatedEventData> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-