Package org.apache.gravitino.dto.file
Class FilesetDTO.FilesetDTOBuilder
java.lang.Object
org.apache.gravitino.dto.file.FilesetDTO.FilesetDTOBuilder
- Enclosing class:
- FilesetDTO
Builder for FilesetDTO.
-
Method Summary
Modifier and TypeMethodDescriptionSet the audit information of the fileset.build()Build the FilesetDTO.Set the comment of the fileset.Set the name of the fileset.properties(Map<String, String> properties) Set the properties of the fileset.storageLocations(Map<String, String> storageLocations) Set the storage locations of the fileset.type(Fileset.Type type) Set the type of the fileset.
-
Method Details
-
name
Set the name of the fileset.- Parameters:
name- The name of the fileset.- Returns:
- The builder instance.
-
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
Set the storage locations of the fileset.- Parameters:
storageLocations- The storage locations of the fileset.- Returns:
- The builder instance.
-
properties
Set the properties of the fileset.- Parameters:
properties- The properties of the fileset.- Returns:
- The builder instance.
-
audit
Set the audit information of the fileset.- Parameters:
audit- The audit information of the fileset.- Returns:
- The builder instance.
-
build
Build the FilesetDTO.- Returns:
- The built FilesetDTO.
-