|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.PartETag
public class PartETag
Container for the part number and ETag of an uploaded part. After the part is uploaded to Amazon S3, this data is used when completing the multipart upload.
Constructor Summary | |
---|---|
PartETag(int partNumber,
String eTag)
Constructs an instance of PartETag and sets the part number and ETag. |
Method Summary | |
---|---|
String |
getETag()
Returns the entity tag generated from the content of the associated part. |
int |
getPartNumber()
Returns the part number of the associated part. |
void |
setETag(String eTag)
Sets the entity tag generated from the content of the associated part. |
void |
setPartNumber(int partNumber)
Sets the part number of the associated part. |
PartETag |
withETag(String eTag)
Sets the entity tag generated from the content of the associated part, and returns this updated PartETag object so that additional method calls can be chained together. |
PartETag |
withPartNumber(int partNumber)
Sets the part number of the associated part, and returns this updated PartETag object so that additional method calls can be chained together. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartETag(int partNumber, String eTag)
partNumber
- The part number.eTag
- the associated ETag for the part number.Method Detail |
---|
public int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- the part number of the associated part.public PartETag withPartNumber(int partNumber)
partNumber
- the part number of the associated part.
public String getETag()
public void setETag(String eTag)
eTag
- the entity tag generated from the content of the associated
part.public PartETag withETag(String eTag)
eTag
- the entity tag generated from the content of the associated
part.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |