Class CosItem
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.api.CosItem
-
public class CosItem extends java.lang.Object
Represents an item found in a COS bucket
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBucketName()
java.lang.String
geteTag()
FileType
getFileType()
java.lang.String
getItemName()
java.util.Date
getLastModified()
long
getResourceBucketId()
long
getSize()
void
setResourceBucketId(long resourceBucketId)
java.lang.String
toString()
-
-
-
Constructor Detail
-
CosItem
public CosItem(java.lang.String bucketName, java.lang.String itemName, long size, FileType fileType, java.lang.String eTag, java.util.Date lastModified)
Public constructor- Parameters:
bucketName
-itemName
-size
-fileType
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getBucketName
public java.lang.String getBucketName()
- Returns:
- the bucketName
-
getItemName
public java.lang.String getItemName()
- Returns:
- the itemName
-
getSize
public long getSize()
- Returns:
- the size
-
getFileType
public FileType getFileType()
- Returns:
- the fileType
-
geteTag
public java.lang.String geteTag()
- Returns:
- the eTag
-
getLastModified
public java.util.Date getLastModified()
- Returns:
- the lastModified
-
getResourceBucketId
public long getResourceBucketId()
- Returns:
- the resourceBucketId
-
setResourceBucketId
public void setResourceBucketId(long resourceBucketId)
- Parameters:
resourceBucketId
- the resourceBucketId to set
-
-