Package alluxio.proxy.s3
Class ListPartsResult.Part
- java.lang.Object
-
- alluxio.proxy.s3.ListPartsResult.Part
-
- Enclosing class:
- ListPartsResult
public static class ListPartsResult.Part extends java.lang.ObjectPart contains metadata of a part of the object in multipart upload.
-
-
Constructor Summary
Constructors Constructor Description Part()Constructs a defaultListPartsResult.Part.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPartsResult.PartfromURIStatus(alluxio.client.file.URIStatus status)java.lang.StringgetETag()java.lang.StringgetLastModified()intgetPartNumber()longgetSize()voidsetETag(java.lang.String etag)voidsetLastModified(java.lang.String lastModified)voidsetPartNumber(int partNumber)voidsetSize(long size)
-
-
-
Constructor Detail
-
Part
public Part()
Constructs a defaultListPartsResult.Part.
-
-
Method Detail
-
fromURIStatus
public static ListPartsResult.Part fromURIStatus(alluxio.client.file.URIStatus status)
- Parameters:
status- the status of the part file- Returns:
- the
ListPartsResult.Partparsed from the status
-
getPartNumber
public int getPartNumber()
- Returns:
- the part number
-
setPartNumber
public void setPartNumber(int partNumber)
- Parameters:
partNumber- the part number to set
-
getLastModified
public java.lang.String getLastModified()
- Returns:
- the last modification time
-
setLastModified
public void setLastModified(java.lang.String lastModified)
- Parameters:
lastModified- the last modification time to set
-
getETag
public java.lang.String getETag()
- Returns:
- the entity tag surrounded by quotes
-
setETag
public void setETag(java.lang.String etag)
- Parameters:
etag- the entity tag to set (without surrounding quotes)
-
getSize
public long getSize()
- Returns:
- the size of the part in bytes
-
setSize
public void setSize(long size)
- Parameters:
size- the size of the part (in bytes) to set
-
-