Interface ImportContainerUpdateDraft
- All Superinterfaces:
Draft<ImportContainerUpdateDraft>
The representation sent to the server when updating an import container.
Example to create an instance using the builder pattern
ImportContainerUpdateDraft importContainerUpdateDraft = ImportContainerUpdateDraft.builder()
.version(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ImportContainerUpdateDraftbuilder
(ImportContainerUpdateDraft template) create builder for ImportContainerUpdateDraft instancestatic ImportContainerUpdateDraft
deepCopy
(ImportContainerUpdateDraft template) factory method to create a deep copy of ImportContainerUpdateDraftThe resource type to be imported.@NotNull Long
Current version of the ImportContainer.static ImportContainerUpdateDraft
of()
factory methodstatic ImportContainerUpdateDraft
of
(ImportContainerUpdateDraft template) factory method to create a shallow copy ImportContainerUpdateDraftvoid
setResourceType
(ImportResourceType resourceType) The resource type to be imported.void
setVersion
(Long version) Current version of the ImportContainer.static com.fasterxml.jackson.core.type.TypeReference<ImportContainerUpdateDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getVersion
Current version of the ImportContainer.
- Returns:
- version
-
getResourceType
ImportResourceType getResourceType()The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.
- Returns:
- resourceType
-
setVersion
Current version of the ImportContainer.
- Parameters:
version
- value to be set
-
setResourceType
The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.
- Parameters:
resourceType
- value to be set
-
of
factory method- Returns:
- instance of ImportContainerUpdateDraft
-
of
factory method to create a shallow copy ImportContainerUpdateDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ImportContainerUpdateDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportContainerUpdateDraft- Returns:
- builder
-
builder
create builder for ImportContainerUpdateDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withImportContainerUpdateDraft
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
-