public class PartETag extends Object implements Serializable
| 构造器和说明 |
|---|
PartETag(int partNumber,
String eTag)
Constructs an instance of PartETag and sets the part number and ETag.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2017. All rights reserved.