Interface ImportContainerDraft
- All Superinterfaces:
Draft<ImportContainerDraft>
The representation sent to the server when creating an ImportContainer.
Example to create an instance using the builder pattern
ImportContainerDraft importContainerDraft = ImportContainerDraft.builder()
.key("{key}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImportContainerDraftBuilder
builder()
builder factory method for ImportContainerDraftstatic ImportContainerDraftBuilder
builder
(ImportContainerDraft template) create builder for ImportContainerDraft instancestatic ImportContainerDraft
deepCopy
(ImportContainerDraft template) factory method to create a deep copy of ImportContainerDraft@NotNull String
getKey()
User-defined unique identifier of the ImportContainer.The resource type to be imported.static ImportContainerDraft
of()
factory methodstatic ImportContainerDraft
of
(ImportContainerDraft template) factory method to create a shallow copy ImportContainerDraftvoid
User-defined unique identifier of the ImportContainer.void
setResourceType
(ImportResourceType resourceType) The resource type to be imported.static com.fasterxml.jackson.core.type.TypeReference<ImportContainerDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withImportContainerDraft
(Function<ImportContainerDraft, T> helper) accessor map function
-
Method Details
-
getKey
User-defined unique identifier of the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
- Returns:
- key
-
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
-
setKey
User-defined unique identifier of the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
- Parameters:
key
- 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 ImportContainerDraft
-
of
factory method to create a shallow copy ImportContainerDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ImportContainerDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportContainerDraft- Returns:
- builder
-
builder
create builder for ImportContainerDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withImportContainerDraft
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
-