public class ListPartsRequest extends SCSWebServiceRequest
Required Parameters: BucketName, Key, UploadId
构造器和说明 |
---|
ListPartsRequest(String bucketName,
String key,
String uploadId)
Constructs a new ListPartsRequest from the required parameters bucket
name, key and upload ID.
|
限定符和类型 | 方法和说明 |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the multipart upload whose
parts are being listed.
|
String |
getKey()
Returns the key of the associated multipart upload whose parts are being
listed.
|
Integer |
getMaxParts()
Returns the optional maximum number of parts to be returned in the part
listing.
|
Integer |
getPartNumberMarker()
Returns the optional part number marker indicating where in the results
to being listing parts.
|
String |
getUploadId()
Returns the ID of the multipart upload whose parts are being listed.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the multipart upload whose parts
are being listed.
|
void |
setKey(String key)
Sets the key of the associated multipart upload whose parts are being
listed.
|
void |
setMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part
listing.
|
void |
setPartNumberMarker(Integer partNumberMarker)
Sets the optional part number marker indicating where in the results to
being listing parts.
|
void |
setUploadId(String uploadId)
Sets the ID of the multipart upload whose parts are being listed.
|
ListPartsRequest |
withBucketName(String bucketName)
Sets the BucketName property for this request.
|
ListPartsRequest |
withKey(String key)
Sets the key of the associated multipart upload whose parts are being
listed, and returns this updated ListPartsRequest object so that
additional method calls can be chained together.
|
ListPartsRequest |
withMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part
listing and returns this updated ListPartsRequest objects so that
additional method calls can be chained together.
|
ListPartsRequest |
withPartNumberMarker(Integer partNumberMarker)
Sets the optional part number marker indicating where in the results to
being listing parts, and returns this updated ListPartsRequest object so
that additional method calls can be chained together.
|
ListPartsRequest |
withUploadId(String uploadId)
Sets the ID of the multipart upload whose parts are being listed, and
returns this updated ListPartsRequest object so that additional method
calls can be chained together.
|
public ListPartsRequest(String bucketName, String key, String uploadId)
bucketName
- The name of the bucket containing the parts to list.key
- The key of the associated multipart upload whose parts are
being listed.uploadId
- The ID of the multipart upload whose parts are being listed.public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket containing the multipart upload whose
parts are being listed.public ListPartsRequest withBucketName(String bucketName)
bucketName
- The value that BucketName is set topublic String getKey()
public void setKey(String key)
key
- The key of the associated multipart upload whose parts are
being listed.public ListPartsRequest withKey(String key)
key
- The key of the associated multipart upload whose parts are
being listed.public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- The ID of the multipart upload whose parts are being listed.public ListPartsRequest withUploadId(String uploadId)
uploadId
- The ID of the multipart upload whose parts are being listed.public Integer getMaxParts()
public void setMaxParts(int maxParts)
maxParts
- The optional maximum number of parts to be returned in the
part listing.public ListPartsRequest withMaxParts(int maxParts)
maxParts
- The optional maximum number of parts to be returned in the
part listing.public Integer getPartNumberMarker()
public void setPartNumberMarker(Integer partNumberMarker)
partNumberMarker
- The optional part number marker indicating where in the
results to being listing parts.public ListPartsRequest withPartNumberMarker(Integer partNumberMarker)
partNumberMarker
- The optional part number marker indicating where in the
results to being listing parts.Copyright © 2016. All rights reserved.