Class ImportContainerImpl
- All Implemented Interfaces:
ImportContainer
,io.vrap.rmf.base.client.ModelBase
Serves as the entry point of resources. An Import Container is not resource type-specific.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The time when the ImportContainer was created.getKey()
User-defined unique identifier for the ImportContainer.The last time when the ImportContainer was modified.The resource type the ImportContainer is able to handle.The version of the ImportContainer.int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) The time when the ImportContainer was created.void
User-defined unique identifier for the ImportContainer.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) The last time when the ImportContainer was modified.void
setResourceType
(ImportResourceType resourceType) The resource type the ImportContainer is able to handle.void
setVersion
(Long version) The version of the ImportContainer.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.importcontainers.ImportContainer
withImportContainer
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ImportContainerImpl
public ImportContainerImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier for the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
- Specified by:
getKey
in interfaceImportContainer
- Returns:
- key
-
getResourceType
The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.
- Specified by:
getResourceType
in interfaceImportContainer
- Returns:
- resourceType
-
getVersion
The version of the ImportContainer.
- Specified by:
getVersion
in interfaceImportContainer
- Returns:
- version
-
getCreatedAt
The time when the ImportContainer was created.
- Specified by:
getCreatedAt
in interfaceImportContainer
- Returns:
- createdAt
-
getLastModifiedAt
The last time when the ImportContainer was modified.
- Specified by:
getLastModifiedAt
in interfaceImportContainer
- Returns:
- lastModifiedAt
-
setKey
Description copied from interface:ImportContainer
User-defined unique identifier for the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
- Specified by:
setKey
in interfaceImportContainer
- Parameters:
key
- value to be set
-
setResourceType
Description copied from interface:ImportContainer
The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.
- Specified by:
setResourceType
in interfaceImportContainer
- Parameters:
resourceType
- value to be set
-
setVersion
Description copied from interface:ImportContainer
The version of the ImportContainer.
- Specified by:
setVersion
in interfaceImportContainer
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:ImportContainer
The time when the ImportContainer was created.
- Specified by:
setCreatedAt
in interfaceImportContainer
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:ImportContainer
The last time when the ImportContainer was modified.
- Specified by:
setLastModifiedAt
in interfaceImportContainer
- Parameters:
lastModifiedAt
- value to be set
-
equals
-
hashCode
-