Class ImportLocation


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class ImportLocation
    extends Object
    ImportLocation
    • Constructor Detail

      • ImportLocation

        public ImportLocation()
    • Method Detail

      • getType

        @Nonnull
        public ImportLocation.TypeEnum getType()
        Path type, can either be 'common_prefix' or 'object'
        Returns:
        type
      • getPath

        @Nonnull
        public String getPath()
        A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type.
        Returns:
        path
      • setPath

        public void setPath​(String path)
      • getDestination

        @Nonnull
        public String getDestination()
        Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch.
        Returns:
        destination
      • setDestination

        public void setDestination​(String destination)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object