Class ListMultipartUploadsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.s3.model.S3Request
-
- software.amazon.awssdk.services.s3.model.ListMultipartUploadsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListMultipartUploadsRequest.Builder,ListMultipartUploadsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListMultipartUploadsRequest extends S3Request implements ToCopyableBuilder<ListMultipartUploadsRequest.Builder,ListMultipartUploadsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListMultipartUploadsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The name of the bucket to which the multipart upload was initiated.static ListMultipartUploadsRequest.Builderbuilder()Stringdelimiter()Character you use to group keys.EncodingTypeencodingType()Returns the value of the EncodingType property for this object.StringencodingTypeAsString()Returns the value of the EncodingType property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexpectedBucketOwner()The account ID of the expected bucket owner.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyMarker()Specifies the multipart upload after which listing should begin.IntegermaxUploads()Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body.Stringprefix()Lists in-progress uploads only for those keys that begin with the specified prefix.RequestPayerrequestPayer()Returns the value of the RequestPayer property for this object.StringrequestPayerAsString()Returns the value of the RequestPayer property for this object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListMultipartUploadsRequest.Builder>serializableBuilderClass()ListMultipartUploadsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuploadIdMarker()Together with key-marker, specifies the multipart upload after which listing should begin.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The name of the bucket to which the multipart upload was initiated.
Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format
Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the formatbucket-base-name--zone-id--x-s3(for example,amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide.Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, 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.
Object Lambda access points are not supported by directory buckets.
S3 on Outposts - When you use this action with 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 with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.- Returns:
- The name of the bucket to which the multipart upload was initiated.
Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format
Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the formatbucket-base-name--zone-id--x-s3(for example,amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide.Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, 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.
Object Lambda access points are not supported by directory buckets.
S3 on Outposts - When you use this action with 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 with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.
-
delimiter
public final String delimiter()
Character you use to group keys.
All keys that contain the same string between the prefix, if specified, and the first occurrence of the delimiter after the prefix are grouped under a single result element,
CommonPrefixes. If you don't specify the prefix parameter, then the substring starts at the beginning of the key. The keys that are grouped underCommonPrefixesresult element are not returned elsewhere in the response.CommonPrefixesis filtered out from results if it is not lexicographically greater than the key-marker.Directory buckets - For directory buckets,
/is the only supported delimiter.- Returns:
- Character you use to group keys.
All keys that contain the same string between the prefix, if specified, and the first occurrence of the delimiter after the prefix are grouped under a single result element,
CommonPrefixes. If you don't specify the prefix parameter, then the substring starts at the beginning of the key. The keys that are grouped underCommonPrefixesresult element are not returned elsewhere in the response.CommonPrefixesis filtered out from results if it is not lexicographically greater than the key-marker.Directory buckets - For directory buckets,
/is the only supported delimiter.
-
encodingType
public final EncodingType encodingType()
Returns the value of the EncodingType property for this object.If the service returns an enum value that is not available in the current SDK version,
encodingTypewill returnEncodingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencodingTypeAsString().- Returns:
- The value of the EncodingType property for this object.
- See Also:
EncodingType
-
encodingTypeAsString
public final String encodingTypeAsString()
Returns the value of the EncodingType property for this object.If the service returns an enum value that is not available in the current SDK version,
encodingTypewill returnEncodingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencodingTypeAsString().- Returns:
- The value of the EncodingType property for this object.
- See Also:
EncodingType
-
keyMarker
public final String keyMarker()
Specifies the multipart upload after which listing should begin.
-
General purpose buckets - For general purpose buckets,
key-markeris an object key. Together withupload-id-marker, this parameter specifies the multipart upload after which listing should begin.If
upload-id-markeris not specified, only the keys lexicographically greater than the specifiedkey-markerwill be included in the list.If
upload-id-markeris specified, any multipart uploads for a key equal to thekey-markermight also be included, provided those multipart uploads have upload IDs lexicographically greater than the specifiedupload-id-marker. -
Directory buckets - For directory buckets,
key-markeris obfuscated and isn't a real object key. Theupload-id-markerparameter isn't supported by directory buckets. To list the additional multipart uploads, you only need to set the value ofkey-markerto theNextKeyMarkervalue from the previous response.In the
ListMultipartUploadsresponse, the multipart uploads aren't sorted lexicographically based on the object keys.
- Returns:
- Specifies the multipart upload after which listing should begin.
-
General purpose buckets - For general purpose buckets,
key-markeris an object key. Together withupload-id-marker, this parameter specifies the multipart upload after which listing should begin.If
upload-id-markeris not specified, only the keys lexicographically greater than the specifiedkey-markerwill be included in the list.If
upload-id-markeris specified, any multipart uploads for a key equal to thekey-markermight also be included, provided those multipart uploads have upload IDs lexicographically greater than the specifiedupload-id-marker. -
Directory buckets - For directory buckets,
key-markeris obfuscated and isn't a real object key. Theupload-id-markerparameter isn't supported by directory buckets. To list the additional multipart uploads, you only need to set the value ofkey-markerto theNextKeyMarkervalue from the previous response.In the
ListMultipartUploadsresponse, the multipart uploads aren't sorted lexicographically based on the object keys.
-
-
-
maxUploads
public final Integer maxUploads()
Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.
- Returns:
- Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.
-
prefix
public final String prefix()
Lists in-progress uploads only for those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different grouping of keys. (You can think of using
prefixto make groups in the same way that you'd use a folder in a file system.)Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Returns:
- Lists in-progress uploads only for those keys that begin with the specified prefix. You can use prefixes
to separate a bucket into different grouping of keys. (You can think of using
prefixto make groups in the same way that you'd use a folder in a file system.)Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.
-
uploadIdMarker
public final String uploadIdMarker()
Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads for a key equal to the key-marker might be included in the list only if they have an upload ID lexicographically greater than the specified
upload-id-marker.This functionality is not supported for directory buckets.
- Returns:
- Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker
is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads for a key
equal to the key-marker might be included in the list only if they have an upload ID lexicographically
greater than the specified
upload-id-marker.This functionality is not supported for directory buckets.
-
expectedBucketOwner
public final String expectedBucketOwner()
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden(access denied).- Returns:
- The account ID of the expected bucket owner. If the account ID that you provide does not match the actual
owner of the bucket, the request fails with the HTTP status code
403 Forbidden(access denied).
-
requestPayer
public final RequestPayer requestPayer()
Returns the value of the RequestPayer property for this object.If the service returns an enum value that is not available in the current SDK version,
requestPayerwill returnRequestPayer.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestPayerAsString().- Returns:
- The value of the RequestPayer property for this object.
- See Also:
RequestPayer
-
requestPayerAsString
public final String requestPayerAsString()
Returns the value of the RequestPayer property for this object.If the service returns an enum value that is not available in the current SDK version,
requestPayerwill returnRequestPayer.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestPayerAsString().- Returns:
- The value of the RequestPayer property for this object.
- See Also:
RequestPayer
-
toBuilder
public ListMultipartUploadsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListMultipartUploadsRequest.Builder,ListMultipartUploadsRequest>- Specified by:
toBuilderin classS3Request
-
builder
public static ListMultipartUploadsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListMultipartUploadsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-