Package org.bremersee.data.minio
Interface MinioObjectId
-
- All Known Subinterfaces:
MinioMultipartFile
,MinioObjectInfo
- All Known Implementing Classes:
DefaultMinioObjectId
,MinioMultipartFileImpl
@Validated public interface MinioObjectId
The minio object id interface.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MinioObjectId
from(@NotEmpty String name)
From object name.static MinioObjectId
from(@NotEmpty String name, String version)
From object name and version ID.@NotEmpty String
getName()
Gets name.String
getVersionId()
Gets version id.
-
-
-
Method Detail
-
from
static MinioObjectId from(@NotEmpty @NotEmpty String name)
From object name.- Parameters:
name
- the name- Returns:
- the minio object id
-
from
static MinioObjectId from(@NotEmpty @NotEmpty String name, String version)
From object name and version ID.- Parameters:
name
- the nameversion
- the version- Returns:
- the minio object id
-
getName
@NotEmpty @NotEmpty String getName()
Gets name.- Returns:
- the name
-
getVersionId
String getVersionId()
Gets version id.- Returns:
- the version id
-
-