Interface ImportContainerUpdateDraft

All Superinterfaces:
Draft<ImportContainerUpdateDraft>

public interface ImportContainerUpdateDraft extends 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 Details

    • getVersion

      @NotNull @NotNull Long 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

      void setVersion(Long version)

      Current version of the ImportContainer.

      Parameters:
      version - value to be set
    • setResourceType

      void setResourceType(ImportResourceType resourceType)

      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

      default <T> T withImportContainerUpdateDraft(Function<ImportContainerUpdateDraft,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<ImportContainerUpdateDraft> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference