Class FilesetDTO.FilesetDTOBuilder

java.lang.Object
org.apache.gravitino.dto.file.FilesetDTO.FilesetDTOBuilder
Enclosing class:
FilesetDTO

public static class FilesetDTO.FilesetDTOBuilder extends Object
Builder for FilesetDTO.
  • Method Details

    • name

      Set the name of the fileset.
      Parameters:
      name - The name of the fileset.
      Returns:
      The builder instance.
    • comment

      public FilesetDTO.FilesetDTOBuilder comment(String comment)
      Set the comment of the fileset.
      Parameters:
      comment - The comment of the fileset.
      Returns:
      The builder instance.
    • type

      Set the type of the fileset.
      Parameters:
      type - The type of the fileset.
      Returns:
      The builder instance.
    • storageLocations

      public FilesetDTO.FilesetDTOBuilder storageLocations(Map<String,String> storageLocations)
      Set the storage locations of the fileset.
      Parameters:
      storageLocations - The storage locations of the fileset.
      Returns:
      The builder instance.
    • properties

      public FilesetDTO.FilesetDTOBuilder properties(Map<String,String> properties)
      Set the properties of the fileset.
      Parameters:
      properties - The properties of the fileset.
      Returns:
      The builder instance.
    • audit

      public FilesetDTO.FilesetDTOBuilder audit(AuditDTO audit)
      Set the audit information of the fileset.
      Parameters:
      audit - The audit information of the fileset.
      Returns:
      The builder instance.
    • build

      public FilesetDTO build()
      Build the FilesetDTO.
      Returns:
      The built FilesetDTO.