public static class ListPartsResult.Part extends Object
Constructor and Description |
---|
Part()
Constructs a default
ListPartsResult.Part . |
Modifier and Type | Method and Description |
---|---|
static ListPartsResult.Part |
fromURIStatus(URIStatus status) |
String |
getETag() |
String |
getLastModified() |
int |
getPartNumber() |
long |
getSize() |
void |
setETag(String etag) |
void |
setLastModified(String lastModified) |
void |
setPartNumber(int partNumber) |
void |
setSize(long size) |
public Part()
ListPartsResult.Part
.public static ListPartsResult.Part fromURIStatus(URIStatus status)
status
- the status of the part fileListPartsResult.Part
parsed from the statuspublic int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- the part number to setpublic String getLastModified()
public void setLastModified(String lastModified)
lastModified
- the last modification time to setpublic String getETag()
public void setETag(String etag)
etag
- the entity tag to set (without surrounding quotes)public long getSize()
public void setSize(long size)
size
- the size of the part (in bytes) to setCopyright © 2023. All Rights Reserved.