public class ListMultipartUploadsRequest extends AmazonWebServiceRequest implements WormMirrorDestinationProvider, Serializable
Required Parameters: BucketName
NOOP
Constructor and Description |
---|
ListMultipartUploadsRequest(String bucketName)
Constructs a new ListMultipartUploadsRequest to list the multipart
uploads from the specified bucket.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
The name of the bucket to which the multipart upload was initiated.
|
String |
getDelimiter()
Returns the optional delimiter parameter that causes multipart uploads for
keys that contain the same string between the prefix and the first
occurrence of the delimiter to be combined into a single result element
in the
MultipartUploadListing.getCommonPrefixes() list. |
String |
getEncodingType()
Gets the optional
encodingType parameter indicating the
encoding method to be applied on the response. |
String |
getKeyMarker()
Returns the optional key marker indicating where in the results to begin
listing.
|
Integer |
getMaxUploads()
Returns the optional maximum number of uploads to return, or null if no
maximum number of uploads has been set for this request.
|
String |
getPrefix()
Returns the optional prefix parameter that restricts the response to
multipart uploads for keys that begin with the specified prefix.
|
String |
getUploadIdMarker()
Returns the optional upload ID marker indicating where in the results to
begin listing.
|
String |
getWormMirrorDestination()
Returns the optional mirror-destination value for WORM mirroring
|
void |
setBucketName(String bucketName)
The name of the bucket to which the multipart upload was initiated.
|
void |
setDelimiter(String delimiter)
Sets the optional delimiter parameter that causes multipart uploads for
keys that contain the same string between the prefix and the first
occurrence of the delimiter to be combined into a single result element
in the
MultipartUploadListing.getCommonPrefixes() list. |
void |
setEncodingType(String encodingType)
Sets the optional
encodingType parameter indicating the
encoding method to be applied on the response. |
void |
setKeyMarker(String keyMarker)
Sets the optional key marker indicating where in the results to begin
listing.
|
void |
setMaxUploads(Integer maxUploads)
Sets the optional maximum number of uploads to return.
|
void |
setPrefix(String prefix)
Sets the optional prefix parameter, restricting the response to multipart
uploads for keys that begin with the specified prefix.
|
void |
setUploadIdMarker(String uploadIdMarker)
Sets the optional upload ID marker indicating where in the results to
begin listing.
|
void |
setWormMirrorDestination(String wormMirrorDestination)
Sets the optional mirror-destination value for WORM mirroring
|
ListMultipartUploadsRequest |
withBucketName(String bucketName)
The name of the bucket to which the multipart upload was initiated.
|
ListMultipartUploadsRequest |
withDelimiter(String delimiter)
Sets the optional delimiter parameter that causes multipart uploads for
keys that contain the same string between the prefix and the first
occurrence of the delimiter to be rolled up into a single result element
in the
MultipartUploadListing.getCommonPrefixes() list. |
ListMultipartUploadsRequest |
withEncodingType(String encodingType)
Sets the optional
encodingType parameter indicating the
encoding method to be applied on the response. |
ListMultipartUploadsRequest |
withKeyMarker(String keyMarker)
Sets the KeyMarker property for this request.
|
ListMultipartUploadsRequest |
withMaxUploads(int maxUploadsInt)
Sets the optional maximum number of uploads to return and returns this
updated ListMultipartUploadsRequest object so that additional method
calls can be chained together.
|
ListMultipartUploadsRequest |
withPrefix(String prefix)
Sets the optional prefix parameter restricting the response to multipart
uploads for keys that begin with the specified prefix.
|
ListMultipartUploadsRequest |
withUploadIdMarker(String uploadIdMarker)
Sets the optional upload ID marker indicating where in the results to
begin listing and returns this updated ListMultipartUploadsRequest object
so that additional methods can be chained together.
|
ListMultipartUploadsRequest |
withWormMirrorDestination(String wormMirrorDestination)
Sets the optional mirror-destination value for WORM mirroring
and returns the updated ListMultipartUploadsRequest so that additional
method calls may be chained together.
|
addHandlerContext, clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ListMultipartUploadsRequest(String bucketName)
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the
Amazon S3 User Guide.
bucketName
- The name of the bucket, or access point ARN, containing the uploads to list.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts
hostname. The S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts
in the Amazon S3 User Guide.
public String getBucketName()
The name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the
Amazon S3 User Guide.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts
hostname. The S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts
in the Amazon S3 User Guide.
public void setBucketName(String bucketName)
The name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the
Amazon S3 User Guide.
bucketName
- The name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts
hostname. The S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts
in the Amazon S3 User Guide.
public ListMultipartUploadsRequest withBucketName(String bucketName)
The name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the
Amazon S3 User Guide.
bucketName
- The name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts
hostname. The S3 on Outposts hostname takes the form
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts
in the Amazon S3 User Guide.
public Integer getMaxUploads()
public void setMaxUploads(Integer maxUploads)
maxUploads
- The maximum number of uploads to return.public ListMultipartUploadsRequest withMaxUploads(int maxUploadsInt)
maxUploadsInt
- The optional maximum number of uploads to return.public String getKeyMarker()
Together with the upload ID marker, specifies the multipart upload after which listing should begin.
If the upload ID marker is not specified, only the keys lexicographically greater than the specified key-marker will be included in the list.
If the upload ID marker is specified, any multipart uploads for a key equal to the key-marker may also be included, provided those multipart uploads have upload IDs lexicographically greater than the specified marker.
public void setKeyMarker(String keyMarker)
Together with the upload ID marker, specifies the multipart upload after which listing should begin.
If the upload ID marker is not specified, only the keys lexicographically greater than the specified key-marker will be included in the list.
If the upload ID marker is specified, any multipart uploads for a key equal to the key-marker may also be included, provided those multipart uploads have upload IDs lexicographically greater than the specified marker.
keyMarker
- The optional key marker indicating where in the results to
begin listing.public ListMultipartUploadsRequest withKeyMarker(String keyMarker)
keyMarker
- The value that KeyMarker is set topublic String getUploadIdMarker()
Together with the key marker, specifies the multipart upload after which listing should begin. If no key marker is specified, the upload ID marker is ignored. Otherwise, any multipart uploads for a key equal to the key marker may be included in the list only if they have an upload ID lexicographically greater than the specified marker.
public void setUploadIdMarker(String uploadIdMarker)
Together with the key marker, specifies the multipart upload after which listing should begin. If no key marker is specified, the upload ID marker is ignored. Otherwise, any multipart uploads for a key equal to the key marker may be included in the list only if they have an upload ID lexicographically greater than the specified marker.
uploadIdMarker
- The optional upload ID marker indicating where in the results
to begin listing.public ListMultipartUploadsRequest withUploadIdMarker(String uploadIdMarker)
Together with the key marker, specifies the multipart upload after which listing should begin. If no key marker is specified, the upload ID marker is ignored. Otherwise, any multipart uploads for a key equal to the key marker may be included in the list only if they have an upload ID lexicographically greater than the specified marker.
uploadIdMarker
- The optional upload ID marker indicating where in the results
to begin listing.public String getDelimiter()
MultipartUploadListing.getCommonPrefixes()
list. These
combined keys are not returned elsewhere in the response. The most
commonly used delimiter is "/", which simulates a hierarchical
organization similar to a file system directory structure.MultipartUploadListing.getCommonPrefixes()
list.public void setDelimiter(String delimiter)
MultipartUploadListing.getCommonPrefixes()
list.delimiter
- The optional delimiter parameter that causes multipart uploads
for keys that contain the same string between the prefix and
the first occurrence of the delimiter to be combined into a
single result element in the
MultipartUploadListing.getCommonPrefixes()
list.public ListMultipartUploadsRequest withDelimiter(String delimiter)
MultipartUploadListing.getCommonPrefixes()
list. Returns
this ListMultipartUploadsRequest
, enabling additional method
calls to be chained together.delimiter
- The optional delimiter parameter that causes multipart uploads
for keys that contain the same string between the prefix and
the first occurrence of the delimiter to be rolled up into a
single result element in the
MultipartUploadListing.getCommonPrefixes()
list.ListMultipartUploadsRequest
, enabling additional
method calls to be chained together.public String getPrefix()
public void setPrefix(String prefix)
prefix
- The optional prefix parameter, restricting the response to
multipart uploads for keys that begin with the specified
prefix.public ListMultipartUploadsRequest withPrefix(String prefix)
ListMultipartUploadsRequest
, enabling additional method calls to
be chained together.prefix
- The optional prefix parameter restricting the response to
multipart uploads for keys that begin with the specified
prefix.ListMultipartUploadsRequest
, enabling additional
method calls to be chained together.public String getEncodingType()
encodingType
parameter indicating the
encoding method to be applied on the response.public void setEncodingType(String encodingType)
encodingType
parameter indicating the
encoding method to be applied on the response. An object key can contain
any Unicode character; however, XML 1.0 parser cannot parse some
characters, such as characters with an ASCII value from 0 to 10. For
characters that are not supported in XML 1.0, you can add this parameter
to request that Amazon S3 encode the keys in the response.encodingType
- The encoding method to be applied on the response. Valid
values: null (not encoded) or "url".public ListMultipartUploadsRequest withEncodingType(String encodingType)
encodingType
parameter indicating the
encoding method to be applied on the response. An object key can contain
any Unicode character; however, XML 1.0 parser cannot parse some
characters, such as characters with an ASCII value from 0 to 10. For
characters that are not supported in XML 1.0, you can add this parameter
to request that Amazon S3 encode the keys in the response.
Returns this ListMultipartUploadsRequest
, enabling additional method calls
to be chained together.encodingType
- The encoding method to be applied on the response. Valid
values: null (not encoded) or "url".public String getWormMirrorDestination()
getWormMirrorDestination
in interface WormMirrorDestinationProvider
public void setWormMirrorDestination(String wormMirrorDestination)
setWormMirrorDestination
in interface WormMirrorDestinationProvider
wormMirrorDestination
- The optional mirror-destination value for WORM mirroringpublic ListMultipartUploadsRequest withWormMirrorDestination(String wormMirrorDestination)
wormMirrorDestination
- The optional mirror-destination value for WORM mirroringListMultipartUploadsRequest
, enabling additional method
calls to be chained together.Copyright © 2024. All rights reserved.