public class PartETag extends Object implements Serializable
Constructor and Description |
---|
PartETag(int partNumber,
String eTag)
Constructs an instance of PartETag and sets the part number and ETag.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PartETag(int partNumber, String eTag)
partNumber
- The part number.eTag
- the associated ETag for the part number.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.