public class PartETag
extends java.lang.Object
Constructor and Description |
---|
PartETag(int partNumber,
java.lang.String eTag)
Constructs an instance of PartETag and sets the part number and ETag.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.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(java.lang.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, java.lang.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 java.lang.String getETag()
public void setETag(java.lang.String eTag)
eTag
- the entity tag generated from the content of the associated
part.public PartETag withETag(java.lang.String eTag)
eTag
- the entity tag generated from the content of the associated
part.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.