Klasse RestFileInfo
java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestFileInfo
- Alle implementierten Schnittstellen:
- Serializable
- Siehe auch:
- 
FeldübersichtFelder
- 
KonstruktorübersichtKonstruktorenKonstruktorBeschreibungCreates a new RestFileInfo.RestFileInfo(String storageType, String filePath, String fileName, Long fileSize) Creates a new RestFileInfo.
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungboolean@NotNull StringReturns the fileName.@NotNull StringReturns the filePath.@NotNull LongReturns the fileSize.@NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") StringReturns the storageType.inthashCode()voidsetFileName(String fileName) Set the fileName.voidsetFilePath(String filePath) Set the filePath.voidsetFileSize(Long fileSize) Set the fileSize.voidsetStorageType(String storageType) Set the storageType.toString()
- 
Felddetails- 
serialVersionUIDstatic final long serialVersionUID- Siehe auch:
 
- 
storageTypeThe type of the storage to ingest the data from
- 
filePathThe S3/POSIX/ALLUXIO path to the file
- 
fileNameThe file name
- 
fileSizeThe size of the primary product file in bytes
 
- 
- 
Konstruktordetails- 
RestFileInfopublic RestFileInfo()Creates a new RestFileInfo.
- 
RestFileInfoCreates a new RestFileInfo.
 
- 
- 
Methodendetails- 
getStorageType@NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") String getStorageType()Returns the storageType.- Gibt zurück:
- storageType
 
- 
setStorageTypeSet the storageType.- Parameter:
- storageType- the new storageType
 
- 
getFilePathReturns the filePath.- Gibt zurück:
- filePath
 
- 
setFilePathSet the filePath.- Parameter:
- filePath- the new filePath
 
- 
getFileNameReturns the fileName.- Gibt zurück:
- fileName
 
- 
setFileNameSet the fileName.- Parameter:
- fileName- the new fileName
 
- 
getFileSizeReturns the fileSize.- Gibt zurück:
- fileSize
 
- 
setFileSizeSet the fileSize.- Parameter:
- fileSize- the new fileSize
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-